kbabel compile error
Andreas Pakulat
apaku at gmx.de
Mon Jul 23 15:03:44 CEST 2007
On 23.07.07 14:34:35, Ralf Habacker wrote:
> Christian Ehrlicher schrieb:
> > Von: Ralf Habacker <ralf.habacker at freenet.de>
> >> while compiling recent kdesdk sources there is a compile error. The
> >> deprecated warning could be probably ignored
> >>
> >> Is anyone there who has an idea how to fix ?
> >>
> >> In file included from
> >> d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:31,
> >> from
> >> D:/Programme/kdewin-mingw/bin/../include/FlexLexer.h:47,
> >> from
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp:244:
> >> d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.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 se
> >> ction 17.4.1.2 of the C++ standard. Examples include substituting the
> >> <X> header for the <X.h> header for C++ includes,
> >> or <iostream> instead of the deprecated header <iostream.h>. To disable
> >> this warning use -Wno-deprecated.
> >> In file included from
> >> D:/Programme/kdewin-mingw/bin/../include/FlexLexer.h:47,
> >> from
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp:244:
> >> d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:36:
> >> error: `istream' is already
> >> declared in this scope
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp: In member
> >> function `virtual int GettextBaseFlexLexer::yylex()':
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp:717: error: cannot
> >> convert `std::istream*' to `istream*' in assign
> >> ment
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp: In member
> >> function `void GettextBaseFlexLexer::yy_load_buffer_sta
> >> te()':
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp:1250: error:
> >> cannot convert `istream*' to `std::istream*' in assig
> >> nment
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp: In member
> >> function `void GettextBaseFlexLexer::yy_init_buffer(yy_
> >> buffer_state*, std::istream*)':
> >> D:\daten\kdesdk-mingw-build\kbabel\common\pofiles.cpp:1301: error:
> >> cannot convert `std::istream*' to `istream*' in assig
> >> nment
> >> mingw32-make[2]: ***
> >> [kbabel/common/CMakeFiles/kbabelcommon.dir/pofiles.obj] Error 1
> >> mingw32-make[1]: *** [kbabel/common/CMakeFiles/kbabelcommon.dir/all] Error
> >> 2
> >> mingw32-make: *** [all] Error 2
> >>
> >>
> > Maybe try to get a newer FlexLexer.h - but imho win32libs contains the newest one I could find... :(
> > Afair I could compile kbabel + msvc some time ago.
> >
> then it is probably a mingw only problem. I will try to take a deeper look
I suggest to find something more important to work on. KBabel is
unmaintained and AFAIK will be replaced with KAider before KDE 4.0 is
released (probably after SoC). So its IMHO not worth to spend time on
fixing kbabel.
Andreas
--
Do nothing unless you must, and when you must act -- hesitate.
More information about the Kde-windows
mailing list