Version: unknown (using KDE 3.1.0) Installed from: yes Compiler: gcc version 3.2.3 20030221 (Debian prerelease) OS: Linux (i686) release 2.4.20-sikasso I'm running debian unstable. flex version is 2.5.4a-30 A fast lexical analyzer generator. make[3]: Entering directory `/usr/local/src/KDE/3.1.1/kdevelop-2.1.5_for_KDE_3.1/kdevelop/classparser' source='tokenizer.cc' object='tokenizer.o' libtool=no \ depfile='.deps/tokenizer.Po' tmpdepfile='.deps/tokenizer.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o tokenizer.o `test -f 'tokenizer.cc' || echo './'`tokenizer.cc source='main.cc' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o main.o `test -f 'main.cc' || echo './'`main.cc source='PersistantClassStore.cc' object='PersistantClassStore.o' libtool=no \ depfile='.deps/PersistantClassStore.Po' tmpdepfile='.deps/PersistantClassStore.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o PersistantClassStore.o `test -f 'PersistantClassStore.cc' || echo './'`PersistantClassStore.cc In file included from ClassParser.h:24, from main.cc:2: /usr/include/FlexLexer.h:64: `istream' was not declared in this scope /usr/include/FlexLexer.h:64: `s' was not declared in this scope /usr/include/FlexLexer.h:64: syntax error before `)' token /usr/include/FlexLexer.h:66: `istream' was not declared in this scope /usr/include/FlexLexer.h:66: `s' was not declared in this scope /usr/include/FlexLexer.h:66: virtual outside class declaration /usr/include/FlexLexer.h:66: variable or field `yyrestart' declared void /usr/include/FlexLexer.h:71: `istream' was not declared in this scope /usr/include/FlexLexer.h:71: `new_in' was not declared in this scope /usr/include/FlexLexer.h:71: `ostream' was not declared in this scope /usr/include/FlexLexer.h:71: `new_out' was not declared in this scope /usr/include/FlexLexer.h:72: syntax error before `{' token /usr/include/FlexLexer.h: In member function `const char* FlexLexer::YYText()': /usr/include/FlexLexer.h:58: `yytext' undeclared (first use this function) /usr/include/FlexLexer.h:58: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/FlexLexer.h: In member function `int FlexLexer::YYLeng()': /usr/include/FlexLexer.h:59: `yyleng' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:79: `istream' was not declared in this scope /usr/include/FlexLexer.h:79: `new_in' was not declared in this scope /usr/include/FlexLexer.h:80: `ostream' was not declared in this scope /usr/include/FlexLexer.h:80: `new_out' was not declared in this scope /usr/include/FlexLexer.h:80: two or more data types in declaration of ` switch_streams' /usr/include/FlexLexer.h:80: virtual outside class declaration /usr/include/FlexLexer.h:80: cannot declare variable `switch_streams' to be of type `FlexLexer' /usr/include/FlexLexer.h:80: because the following virtual functions are abstract: /usr/include/FlexLexer.h:68: virtual int FlexLexer::yylex() /usr/include/FlexLexer.h:65: virtual void FlexLexer::yy_delete_buffer(yy_buffer_state*) /usr/include/FlexLexer.h:64: virtual yy_buffer_state* FlexLexer::yy_create_buffer(...) /usr/include/FlexLexer.h:62: virtual void FlexLexer::yy_switch_to_buffer(yy_buffer_state*) /usr/include/FlexLexer.h:80: assignment (not initialization) in declaration /usr/include/FlexLexer.h:82: non-member function `int lineno()' cannot have ` const' method qualifier /usr/include/FlexLexer.h: In function `int lineno()': /usr/include/FlexLexer.h:82: `yylineno' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:84: non-member function `int debug()' cannot have ` const' method qualifier /usr/include/FlexLexer.h: In function `int debug()': /usr/include/FlexLexer.h:84: `yy_flex_debug' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:87: syntax error before `protected' /usr/include/FlexLexer.h:89: `int yyleng' used prior to declaration /usr/include/FlexLexer.h:90: `int yylineno' used prior to declaration /usr/include/FlexLexer.h:91: `int yy_flex_debug' used prior to declaration /usr/include/FlexLexer.h:94: syntax error before `}' token /usr/include/FlexLexer.h:107: syntax error before `*' token /usr/include/FlexLexer.h:112: `istream' was not declared in this scope /usr/include/FlexLexer.h:112: `s' was not declared in this scope /usr/include/FlexLexer.h:112: syntax error before `)' token /usr/include/FlexLexer.h:114: `istream' was not declared in this scope /usr/include/FlexLexer.h:114: `s' was not declared in this scope /usr/include/FlexLexer.h:114: invalid data member initialization /usr/include/FlexLexer.h:114: (use `=' to initialize static data members) /usr/include/FlexLexer.h:114: variable or field `yyrestart' declared void /usr/include/FlexLexer.h:117: `istream' was not declared in this scope /usr/include/FlexLexer.h:117: `new_in' was not declared in this scope /usr/include/FlexLexer.h:117: `ostream' was not declared in this scope /usr/include/FlexLexer.h:117: `new_out' was not declared in this scope /usr/include/FlexLexer.h:117: invalid data member initialization /usr/include/FlexLexer.h:117: variable or field `switch_streams' declared void /usr/include/FlexLexer.h:117: `switch_streams' declared as a `virtual' field /usr/include/FlexLexer.h:128: type specifier omitted for parameter `istream' /usr/include/FlexLexer.h:128: syntax error before `*' token /usr/include/FlexLexer.h:143: syntax error before `*' token /usr/include/FlexLexer.h:144: syntax error before `*' token tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()': tokenizer.cc:872: `cin' undeclared (first use this function) tokenizer.cc:872: (Each undeclared identifier is reported only once for each function it appears in.) tokenizer.cc:875: `cout' undeclared (first use this function) tokenizer.cc:924: warning: label `find_rule' defined but not used tokenizer.cc: In member function `virtual void yyFlexLexer::LexerError(const char*)': tokenizer.cc:2020: `cerr' undeclared (first use this function) /usr/include/c++/3.2/streambuf: At top level: tokenizer.cc:2093: warning: `void* yy_flex_realloc(void*, unsigned int)' defined but not used make[3]: *** [tokenizer.o] Error 1 source='ParsedStruct.cc' object='ParsedStruct.o' libtool=no \ depfile='.deps/ParsedStruct.Po' tmpdepfile='.deps/ParsedStruct.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedStruct.o `test -f 'ParsedStruct.cc' || echo './'`ParsedStruct.cc In file included from main.cc:2: ClassParser.h: In member function `int CClassParser::getLineno()': ClassParser.h:134: no matching function for call to `yyFlexLexer::lineno()' make[3]: *** [main.o] Error 1 source='ParsedSignalSlot.cc' object='ParsedSignalSlot.o' libtool=no \ depfile='.deps/ParsedSignalSlot.Po' tmpdepfile='.deps/ParsedSignalSlot.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedSignalSlot.o `test -f 'ParsedSignalSlot.cc' || echo './'`ParsedSignalSlot.cc source='ParsedScopeContainer.cc' object='ParsedScopeContainer.o' libtool=no \ depfile='.deps/ParsedScopeContainer.Po' tmpdepfile='.deps/ParsedScopeContainer.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedScopeContainer.o `test -f 'ParsedScopeContainer.cc' || echo './'`ParsedScopeContainer.cc source='ParsedParent.cc' object='ParsedParent.o' libtool=no \ depfile='.deps/ParsedParent.Po' tmpdepfile='.deps/ParsedParent.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedParent.o `test -f 'ParsedParent.cc' || echo './'`ParsedParent.cc In file included from /usr/include/c++/3.2/backward/iostream.h:31, from ParsedParent.cc:19: /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 /usr/include/c++/3.2/backward/iostream.h:31, from ParsedScopeContainer.cc:21: /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. source='ParsedMethod.cc' object='ParsedMethod.o' libtool=no \ depfile='.deps/ParsedMethod.Po' tmpdepfile='.deps/ParsedMethod.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedMethod.o `test -f 'ParsedMethod.cc' || echo './'`ParsedMethod.cc source='ParsedItem.cc' object='ParsedItem.o' libtool=no \ depfile='.deps/ParsedItem.Po' tmpdepfile='.deps/ParsedItem.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedItem.o `test -f 'ParsedItem.cc' || echo './'`ParsedItem.cc In file included from /usr/include/c++/3.2/backward/iostream.h:31, from ParsedItem.cc:20: /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. source='ParsedContainer.cc' object='ParsedContainer.o' libtool=no \ depfile='.deps/ParsedContainer.Po' tmpdepfile='.deps/ParsedContainer.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedContainer.o `test -f 'ParsedContainer.cc' || echo './'`ParsedContainer.cc source='ParsedClassContainer.cc' object='ParsedClassContainer.o' libtool=no \ depfile='.deps/ParsedClassContainer.Po' tmpdepfile='.deps/ParsedClassContainer.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedClassContainer.o `test -f 'ParsedClassContainer.cc' || echo './'`ParsedClassContainer.cc In file included from /usr/include/c++/3.2/backward/iostream.h:31, from ParsedContainer.cc:19: /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. source='ParsedClass.cc' object='ParsedClass.o' libtool=no \ depfile='.deps/ParsedClass.Po' tmpdepfile='.deps/ParsedClass.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedClass.o `test -f 'ParsedClass.cc' || echo './'`ParsedClass.cc In file included from /usr/include/c++/3.2/backward/iostream.h:31, from ParsedClassContainer.cc:21: /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. source='ParsedAttribute.cc' object='ParsedAttribute.o' libtool=no \ depfile='.deps/ParsedAttribute.Po' tmpdepfile='.deps/ParsedAttribute.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedAttribute.o `test -f 'ParsedAttribute.cc' || echo './'`ParsedAttribute.cc source='ParsedArgument.cc' object='ParsedArgument.o' libtool=no \ depfile='.deps/ParsedArgument.Po' tmpdepfile='.deps/ParsedArgument.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ParsedArgument.o `test -f 'ParsedArgument.cc' || echo './'`ParsedArgument.cc source='ClassTreeNode.cc' object='ClassTreeNode.o' libtool=no \ depfile='.deps/ClassTreeNode.Po' tmpdepfile='.deps/ClassTreeNode.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ClassTreeNode.o `test -f 'ClassTreeNode.cc' || echo './'`ClassTreeNode.cc source='ClassStore.cc' object='ClassStore.o' libtool=no \ depfile='.deps/ClassStore.Po' tmpdepfile='.deps/ClassStore.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ClassStore.o `test -f 'ClassStore.cc' || echo './'`ClassStore.cc source='ClassParser.cc' object='ClassParser.o' libtool=no \ depfile='.deps/ClassParser.Po' tmpdepfile='.deps/ClassParser.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/K-Desktop-Environment-3.1.1/include -I/usr/local/lib/qt-x11-free-3.1.2/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 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o ClassParser.o `test -f 'ClassParser.cc' || echo './'`ClassParser.cc In file included from ClassParser.h:24, from ClassParser.cc:25: /usr/include/FlexLexer.h:64: `istream' was not declared in this scope /usr/include/FlexLexer.h:64: `s' was not declared in this scope /usr/include/FlexLexer.h:64: syntax error before `)' token /usr/include/FlexLexer.h:66: `istream' was not declared in this scope /usr/include/FlexLexer.h:66: `s' was not declared in this scope /usr/include/FlexLexer.h:66: virtual outside class declaration /usr/include/FlexLexer.h:66: variable or field `yyrestart' declared void /usr/include/FlexLexer.h:71: `istream' was not declared in this scope /usr/include/FlexLexer.h:71: `new_in' was not declared in this scope /usr/include/FlexLexer.h:71: `ostream' was not declared in this scope /usr/include/FlexLexer.h:71: `new_out' was not declared in this scope /usr/include/FlexLexer.h:72: syntax error before `{' token /usr/include/FlexLexer.h: In member function `const char* FlexLexer::YYText()': /usr/include/FlexLexer.h:58: `yytext' undeclared (first use this function) /usr/include/FlexLexer.h:58: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/FlexLexer.h: In member function `int FlexLexer::YYLeng()': /usr/include/FlexLexer.h:59: `yyleng' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:79: `istream' was not declared in this scope /usr/include/FlexLexer.h:79: `new_in' was not declared in this scope /usr/include/FlexLexer.h:80: `ostream' was not declared in this scope /usr/include/FlexLexer.h:80: `new_out' was not declared in this scope /usr/include/FlexLexer.h:80: two or more data types in declaration of ` switch_streams' /usr/include/FlexLexer.h:80: virtual outside class declaration /usr/include/FlexLexer.h:80: cannot declare variable `switch_streams' to be of type `FlexLexer' /usr/include/FlexLexer.h:80: because the following virtual functions are abstract: /usr/include/FlexLexer.h:68: virtual int FlexLexer::yylex() /usr/include/FlexLexer.h:65: virtual void FlexLexer::yy_delete_buffer(yy_buffer_state*) /usr/include/FlexLexer.h:64: virtual yy_buffer_state* FlexLexer::yy_create_buffer(...) /usr/include/FlexLexer.h:62: virtual void FlexLexer::yy_switch_to_buffer(yy_buffer_state*) /usr/include/FlexLexer.h:80: assignment (not initialization) in declaration /usr/include/FlexLexer.h:82: non-member function `int lineno()' cannot have ` const' method qualifier /usr/include/FlexLexer.h: In function `int lineno()': /usr/include/FlexLexer.h:82: `yylineno' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:84: non-member function `int debug()' cannot have ` const' method qualifier /usr/include/FlexLexer.h: In function `int debug()': /usr/include/FlexLexer.h:84: `yy_flex_debug' undeclared (first use this function) /usr/include/FlexLexer.h: At global scope: /usr/include/FlexLexer.h:87: syntax error before `protected' /usr/include/FlexLexer.h:89: `int yyleng' used prior to declaration /usr/include/FlexLexer.h:90: `int yylineno' used prior to declaration /usr/include/FlexLexer.h:91: `int yy_flex_debug' used prior to declaration /usr/include/FlexLexer.h:94: syntax error before `}' token /usr/include/FlexLexer.h:107: syntax error before `*' token /usr/include/FlexLexer.h:112: `istream' was not declared in this scope /usr/include/FlexLexer.h:112: `s' was not declared in this scope /usr/include/FlexLexer.h:112: syntax error before `)' token /usr/include/FlexLexer.h:114: `istream' was not declared in this scope /usr/include/FlexLexer.h:114: `s' was not declared in this scope /usr/include/FlexLexer.h:114: invalid data member initialization /usr/include/FlexLexer.h:114: (use `=' to initialize static data members) /usr/include/FlexLexer.h:114: variable or field `yyrestart' declared void /usr/include/FlexLexer.h:117: `istream' was not declared in this scope /usr/include/FlexLexer.h:117: `new_in' was not declared in this scope /usr/include/FlexLexer.h:117: `ostream' was not declared in this scope /usr/include/FlexLexer.h:117: `new_out' was not declared in this scope /usr/include/FlexLexer.h:117: invalid data member initialization /usr/include/FlexLexer.h:117: variable or field `switch_streams' declared void /usr/include/FlexLexer.h:117: `switch_streams' declared as a `virtual' field /usr/include/FlexLexer.h:128: type specifier omitted for parameter `istream' /usr/include/FlexLexer.h:128: syntax error before `*' token /usr/include/FlexLexer.h:143: syntax error before `*' token /usr/include/FlexLexer.h:144: syntax error before `*' token In file included from ClassParser.cc:25: ClassParser.h: In member function `int CClassParser::getLineno()': ClassParser.h:134: no matching function for call to `yyFlexLexer::lineno()' ClassParser.cc: In member function `void CClassParser::parseFile(std::ifstream&)': ClassParser.cc:2027: no matching function for call to `yyFlexLexer::yyFlexLexer (std::ifstream*)' /usr/include/FlexLexer.h:103: candidates are: yyFlexLexer::yyFlexLexer() /usr/include/FlexLexer.h:103: yyFlexLexer::yyFlexLexer(const yyFlexLexer&) make[3]: *** [ClassParser.o] Error 1 make[3]: Target `all' not remade because of errors. make[3]: Leaving directory `/usr/local/src/KDE/3.1.1/kdevelop-2.1.5_for_KDE_3.1/kdevelop/classparser' make[2]: *** [all-recursive] Error 1 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/usr/local/src/KDE/3.1.1/kdevelop-2.1.5_for_KDE_3.1/kdevelop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/KDE/3.1.1/kdevelop-2.1.5_for_KDE_3.1' make: *** [all] Error 2
I can confirm that this bug happens, but it's not KDE's fault. GNU flex generates invalid C++ code that gcc 3.2.x refuses to compile. You must patch flex, not KDE.