Bug 48245 - Compiling Gideon with GCC 3.1 it returns some compilation error
Summary: Compiling Gideon with GCC 3.1 it returns some compilation error
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-24 21:23 UTC by kaplun
Modified: 2002-09-25 20:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kaplun 2002-09-24 21:23:22 UTC
Version:           0.2_2.x4.04.0 (using KDE KDE 3.0.3)
Installed from:    Compiled From Sourcescompiled sources
Compiler:          gcc version 3.1
OS:          Linux (i686) release 2.4.19

Compiling Gideon with GCC 3.1 it returns some compilation error. Here they are:
In file included from ktabzoomframe.cpp:16:
sticky.xpm:2: duplicate `const'
make[3]: [ktabzoomframe.lo] Error 1 (ignored)
libtool: link: `ktabzoomframe.lo' is not a valid libtool object
make[3]: [libwidgets.la] Error 1 (ignored)
Makefile:799: warning: overriding commands for target 
`doctreeglobalconfigwidgetbase.moc'
Makefile:761: warning: ignoring old commands for target 
`doctreeglobalconfigwidgetbase.moc'
Makefile:810: warning: overriding commands for target `librarydocdlgbase.moc'
Makefile:745: warning: ignoring old commands for target `librarydocdlgbase.moc'
In file included from /usr/include/g++-v3/backward/fstream.h:31,
                 from classparser.h:25,
                 from cppsupportpart.cpp:52:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
In file included from cppcodecompletion.h:33,
                 from cppsupportpart.cpp:56:
cppccparser.h:125: `istream' was not declared in this scope
cppccparser.h:125: `object' was not declared in this scope
cppccparser.h:125: invalid data member initialization
cppccparser.h:125: (use `=' to initialize static data members)
cppccparser.h:125: variable or field `parseObject' declared void
make[4]: [cppsupportpart.lo] Error 1 (ignored)
In file included from /usr/include/g++-v3/backward/fstream.h:31,
                 from classparser.h:25,
                 from classparser.cpp:26:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
classparser.cpp: In member function `bool 
   CClassParser::commentInRange(ParsedItem*)':
classparser.cpp:116: `cerr' undeclared (first use this function)
classparser.cpp:116: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[4]: [classparser.lo] Error 1 (ignored)
In file included from /usr/include/g++-v3/backward/strstream:51,
                 from /usr/include/g++-v3/backward/strstream.h:33,
                 from cppccparser.h:18,
                 from cppcodecompletion.h:33,
                 from cppcodecompletion.cpp:20:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
In file included from cppcodecompletion.h:33,
                 from cppcodecompletion.cpp:20:
cppccparser.h:125: `istream' was not declared in this scope
cppccparser.h:125: `object' was not declared in this scope
cppccparser.h:125: invalid data member initialization
cppccparser.h:125: (use `=' to initialize static data members)
cppccparser.h:125: variable or field `parseObject' declared void
make[4]: [cppcodecompletion.lo] Error 1 (ignored)
In file included from /usr/include/g++-v3/backward/strstream:51,
                 from /usr/include/g++-v3/backward/strstream.h:33,
                 from cppccparser.h:18,
                 from cppccparser.cpp:12:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
In file included from cppccparser.cpp:12:
cppccparser.h:125: `istream' was not declared in this scope
cppccparser.h:125: `object' was not declared in this scope
cppccparser.h:125: invalid data member initialization
cppccparser.h:125: (use `=' to initialize static data members)
cppccparser.h:125: variable or field `parseObject' declared void
cppccparser.cpp: In member function `bool CppCCParser::parse(const QString&, 
   int)':
cppccparser.cpp:35: `this->CppCCParser::parseObject' cannot be used as a 
   function
cppccparser.cpp: In member function `bool CppCCParser::parse(const QString*, 
   int)':
cppccparser.cpp:52: `this->CppCCParser::parseObject' cannot be used as a 
   function
cppccparser.cpp: In member function `bool CppCCParser::parse(const QString*, 
   QString)':
cppccparser.cpp:70: `this->CppCCParser::parseObject' cannot be used as a 
   function
cppccparser.cpp: In member function `bool CppCCParser::parse(const QString&, 
   QString)':
cppccparser.cpp:89: `this->CppCCParser::parseObject' cannot be used as a 
   function
cppccparser.cpp: At global scope:
cppccparser.cpp:102: no `void CppCCParser::parseObject(std::istream&)' member 
   function declared in class `CppCCParser'
make[4]: [cppccparser.lo] Error 1 (ignored)
libtool: link: `cppsupportpart.lo' is not a valid libtool object
make[4]: [libkdevcppsupport.la.closure] Error 1 (ignored)
libtool: link: `cppsupportpart.lo' is not a valid libtool object
make[4]: [libkdevcppsupport.la] Error 1 (ignored)
Makefile:708: warning: overriding commands for target 
`pythonconfigwidgetbase.moc'
Makefile:686: warning: ignoring old commands for target 
`pythonconfigwidgetbase.moc'
Makefile:685: warning: overriding commands for target `perlconfigwidgetbase.moc'
Makefile:659: warning: ignoring old commands for target 
`perlconfigwidgetbase.moc'
toplevel_mdi.cpp: In member function `void TopLevelMDI::init()':
toplevel_mdi.cpp:47: `setStandardToolBarMenuEnabled' undeclared (first use this 
   function)
toplevel_mdi.cpp:47: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[2]: [toplevel_mdi.o] Error 1 (ignored)
toplevel_sdi.cpp:17:27: knotifydialog.h: No such file or directory
toplevel_sdi.cpp: In member function `void TopLevelSDI::init()':
toplevel_sdi.cpp:56: `setStandardToolBarMenuEnabled' undeclared (first use this 
   function)
toplevel_sdi.cpp:56: (Each undeclared identifier is reported only once for each 
   function it appears in.)
toplevel_sdi.cpp: In member function `void TopLevelSDI::createActions()':
toplevel_sdi.cpp:165: `configureNotifications' undeclared in namespace `
   KStdAction'
toplevel_sdi.cpp: In member function `void 
   TopLevelSDI::slotConfigureNotifications()':
toplevel_sdi.cpp:328: `KNotifyDialog' undeclared (first use this function)
toplevel_sdi.cpp:328: parse error before `::' token
make[2]: [toplevel_sdi.o] Error 1 (ignored)
make[2]: *** No rule to make target `../lib/widgets/libwidgets.la', needed by 
`gideon'.  Stop.
make[1]: [all-recursive] Error 1 (ignored)
Comment 1 Dirk Mueller 2002-09-25 20:00:22 UTC
works now. note you shouldn't report compile failures with the bug tracking 
system. use mailinglists instead.