[Bug 50302] New: Compile error with 20021106 CVS

juanjux at yahoo.es juanjux at yahoo.es
Wed Nov 6 23:46:02 UTC 2002


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=50302     
           Summary: Compile error with 20021106 CVS
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: juanjux at yahoo.es


Version:           Today's cvs checkout (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 glibc 2.3.1
OS:          LinuxLinux

I've succesfully compiled kdesupport/arts/kdelibs/kdebase/kdenetwork/etc but I'm failing with KDevelop. The error it gives me is:

------------------
creating libkdevcppsupport_la.all_cpp.cpp ...
source='libkdevcppsupport_la.all_cpp.cpp' object='libkdevcppsupport_la.all_cpp.lo' libtool=yes \
depfile='.deps/libkdevcppsupport_la.all_cpp.Plo' tmpdepfile='.deps/libkdevcppsupport_la.all_cpp.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++-3.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces -I../../lib/sourceinfo -I../../lib/util -I/usr/local/kde3/include -I/usr/local/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-xp -mcpu=athlon-xp -fno-exceptions -fno-check-new  -c -o libkdevcppsupport_la.all_cpp.lo `test -f libkdevcppsupport_la.all_cpp.cpp || echo './'`libkdevcppsupport_la.all_cpp.cpp
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from /usr/include/FlexLexer.h:47,
                 from classparser.h:24,
                 from cppsupportpart.cpp:55,
                 from libkdevcppsupport_la.all_cpp.cpp:2:
/usr/include/c++/3.2/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 libkdevcppsupport_la.all_cpp.cpp:5:
tokenizer.cpp:795:5: warning: "YY_STACK_USED" is not defined
In file included from libkdevcppsupport_la.all_cpp.cpp:5:
tokenizer.cpp: In member function `virtual int yyFlexLexer::yylex()':
tokenizer.cpp:965: warning: label `find_rule' defined but not used
tokenizer.cpp:2207:5: warning: "YY_MAIN" is not defined
In file included from libkdevcppsupport_la.all_cpp.cpp:12:
cppccparser.cpp:18:1: warning: "PUSH_LEXEM" redefined
In file included from libkdevcppsupport_la.all_cpp.cpp:4:
classparser.cpp:40:1: warning: this is the location of the previous definition
In file included from libkdevcppsupport_la.all_cpp.cpp:12:
cppccparser.cpp: In member function `void CppCCParser::postProcessVariables()':
cppccparser.cpp:542: warning: comparison between signed and unsigned integer
   expressions
cppccparser.cpp: In member function `void CppCCParser::debugPrint()':
cppccparser.cpp:562: warning: comparison between signed and unsigned integer
   expressions
In file included from libkdevcppsupport_la.all_cpp.cpp:15:
simpleparser.cpp: In function `QString remove(QString, const QChar&, const
   QChar&)':
simpleparser.cpp:35: redefinition of `QString remove(QString, const QChar&,
   const QChar&)'
cppcodecompletion.cpp:67: `QString remove(QString, const QChar&, const QChar&)'
   previously defined here
simpleparser.cpp:35: redefinition of `QString remove(QString, const QChar&,
   const QChar&)'
cppcodecompletion.cpp:67: `QString remove(QString, const QChar&, const QChar&)'
   previously defined here
simpleparser.cpp: In function `QString remove_comment(QString)':
simpleparser.cpp:53: redefinition of `QString remove_comment(QString)'
cppcodecompletion.cpp:110: `QString remove_comment(QString)' previously defined
   here
simpleparser.cpp:53: redefinition of `QString remove_comment(QString)'
cppcodecompletion.cpp:110: `QString remove_comment(QString)' previously defined
   here
simpleparser.cpp: In static member function `static SimpleContext*
   SimpleParser::localVariables(QString)':
simpleparser.cpp:112: call of overloaded `remove(QString&, char, char)' is
   ambiguous
cppcodecompletion.cpp:67: candidates are: QString remove(QString, const QChar&,
   const QChar&)
simpleparser.cpp:35:                 QString remove(QString, const QChar&,
   const QChar&)
simpleparser.cpp:153: warning: void format, SimpleContext arg (arg 2)
In file included from libkdevcppsupport_la.all_cpp.cpp:20:
lexer.cpp:432:2: warning: #warning is a GCC extension
lexer.cpp:432:2: warning: #warning "TODO: Lexer::readNumberLiteral()"
In file included from libkdevcppsupport_la.all_cpp.cpp:21:
parser.cpp:903:2: warning: #warning is a GCC extension
parser.cpp:903:2: warning: #warning "TODO Parser::parseTemplateArgument()"
parser.cpp:904:2: warning: #warning is a GCC extension
parser.cpp:904:2: warning: #warning "parse type id"
parser.cpp:1628:2: warning: #warning is a GCC extension
parser.cpp:1628:2: warning: #warning "TODO Parser::parseAssignmentExpression()"
parser.cpp:1806:2: warning: #warning is a GCC extension
parser.cpp:1806:2: warning: #warning "TODO Parser::initializer-list"
parser.cpp:2369:2: warning: #warning is a GCC extension
parser.cpp:2369:2: warning: #warning "TODO: Parser::parseDeclaration() -- fill abstract syntax tree"
cppcodecompletion.cpp: In member function `QString
   CppCodeCompletion::typingTypeOf(int, int)':
cppcodecompletion.cpp:268: warning: unused parameter `int nLine'
cppcodecompletion.cpp:268: warning: unused parameter `int nCol'
make[3]: *** [libkdevcppsupport_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/home/juanjux/sources/kdevelop/parts/cppsupport'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/juanjux/sources/kdevelop/parts/cppsupport'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/juanjux/sources/kdevelop/parts'
make: *** [install-recursive] Error 1

---------------------

Contact me if you need more info.

Thanks




More information about the KDevelop-devel mailing list