Build error on kdelibs
Andreas Pakulat
apaku at gmx.de
Wed Apr 11 18:52:44 CEST 2007
On 11.04.07 18:39:47, Christian Ehrlicher wrote:
> Andreas Pakulat schrieb:
> >anybody with a hint how to fix this one:
> >[ 0%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/netsupp.obj
> >In file included from D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:48:
> >D:\MinGW\sources\kdelibs\kdecore\network\netsupp.h:294:1: warning:
> >"gai_strerror
> >" redefined
> >In file included from D:/MinGW/install/include/mingw/sys/socket.h:26,
> > from D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:22:
> >D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h:332:1:
> >warn
> >ing: this is the location of the previous definition
> >D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:889: error: explicit
> >qualif
> >ication in declaration of `char* KDE::gai_strerror(int)'
> >mingw32-make[2]: *** [kdecore/CMakeFiles/kdecore.dir/network/netsupp.obj]
> >Error
> >1
> >mingw32-make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
> >mingw32-make: *** [all] Error 2
> Adding
> # ifdef gai_strerror
> # undef gai_strerror
> # endif
>
> in netsupp.h around line 270 should work
I hoped there would be a way without editing the source, but well, it
seems the file does a few other undef's too...
Should I commit this to kdelibs?
Andreas
--
Today's weirdness is tomorrow's reason why.
-- Hunter S. Thompson
More information about the Kde-windows
mailing list