Bug#45700: Kdevelop tokenizer does not compile with gcc 3.1

peter.bienstman at rug.ac.be peter.bienstman at rug.ac.be
Wed Jul 24 14:49:02 UTC 2002


Package: kdevelop
Version: KDE 3.0.6 CVS/CVSup/Snapshot
Severity: normal
Installed from:    Compiled sources
Compiler:          gcc 3.1
OS:                Linux
OS/Compiler notes: Not Specified

/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib/interfaces -I../../lib/sourceinfo   -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -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=pentium3 -funroll-loops -fomit-frame-pointer -ffast-math -mfpmath=sse -pipe -fno-exceptions -fno-check-new  -c -o tokenizer.lo `test -f tokenizer.cpp || echo './'`tokenizer.cpp
In file included from /usr/include/g++-v31/backward/iostream.h:31,
                 from /usr/include/FlexLexer.h:47,
                 from tokenizer.cpp:238:
/usr/include/g++-v31/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/FlexLexer.h:47,
                 from tokenizer.cpp:238:
/usr/include/g++-v31/backward/iostream.h:36: using declaration `istream' introduced ambiguous type `istream'
tokenizer.cpp:660:5: warning: "YY_STACK_USED" is not defined
tokenizer.cpp: In member function `virtual int yyFlexLexer::yylex()':
tokenizer.cpp:1171: cannot convert `std::istream*' to `istream*' in assignment
tokenizer.cpp:830: warning: label `find_rule' defined but not used
tokenizer.cpp: In member function `void yyFlexLexer::yy_load_buffer_state()':
tokenizer.cpp:1702: cannot convert `istream*' to `std::istream*' in assignment
tokenizer.cpp: In member function `void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
tokenizer.cpp:1753: cannot convert `std::istream*' to `ist

(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/45/45700.html)




More information about the KDevelop-devel mailing list