Kdelibs compiling on windows msvc2005

Ralf Habacker ralf.habacker at freenet.de
Mon May 14 09:25:00 CEST 2007


Mike Luschas schrieb:
> Hello,
>   trying to get to this compile. I get errors left and right. Many if
> i use
> devenv to compile it, and few if i use nmake. Rather than clutter the
> list
> with all of them they are located at http://pastebin.ca/486444
>
> Thanks in advance for the help.
>C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\ws2tcpip.h(583) :
error C2373: 'inet_pton' : redefinition; different type modifiers       
>C:\kdesrc\trunk\kdesupport\kdewin32\include\msvc\arpa/inet.h(35) : see
declaration of 'inet_pton'

If you compiler have defined inet_pton you should exclude the definition
in inet.h  with

#if MSC_VER != xyz
.... inet_pton ...
#endif

Ralf



More information about the Kde-buildsystem mailing list