Subject: | compilation error with gcc under Win32 |
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX -I"C:\vanilla-perl\perl\lib\CORE" -DNDEBUG -s -O2
-DVERSION=\"0.37\" -DXS_VERSION=\"0.37\"
"-IC:\vanilla-perl\perl\lib\CORE" -DUJ_UINT32="unsigned int"
-DUJ_UINT16="unsigned short" -DUJ_UINT8="unsigned char" conv.c
conv.c:22:24: netinet/in.h: No such file or directory
conv.c contains
#ifndef _MSC_VER
#include <netinet/in.h>
#endif
After commenting out #include <netinet/in.h>, tests pass.
-------
Alexandr Ciornii, http://chorny.net