Compile error in kdesdk/kbabel/common/. C++ standard headers problem

Frans Englich frans.englich at
Wed Jan 14 03:32:47 GMT 2004


When I compile kdesdk it consistently fails. The output is below, my system 
spec is:
* gcc 3.2.2
* automake 1.7.3
* make 3.80
(Slackware 9.0)

Shouldn't I be able to compile with this setup?



if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -fno-builtin -g3 -fno-inline -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_NO_TRANSLATION  -MT pofiles.lo -MD -MP -MF ".deps/pofiles.Tpo" \
  -c -o pofiles.lo `test -f '' || echo './'`; \
then mv ".deps/pofiles.Tpo" ".deps/pofiles.Plo"; \
else rm -f ".deps/pofiles.Tpo"; exit 1; \
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                 from /usr/include/FlexLexer.h:47,
/usr/include/c++/3.2.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 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,
/usr/include/c++/3.2.2/backward/iostream.h:36: using declaration `istream'
   introduced ambiguous type `istream' warning: "YY_STACK_USED" is not defined In member function `virtual int GettextBaseFlexLexer::yylex()': cannot convert `std::istream*' to `istream*' in assignment In member function `void
   GettextBaseFlexLexer::yy_load_buffer_state()': cannot convert `istream*' to `std::istream*' in assignment In member function `void
   GettextBaseFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)': cannot convert `std::istream*' to `istream*' in assignment warning: "YY_MAIN" is not defined
make[4]: *** [pofiles.lo] Error 1
make[4]: Leaving directory 
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/data/home/frans/prog/kde/src/kdesdk/kbabel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/home/frans/prog/kde/src/kdesdk'
make: *** [all] Error 2
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list