The compiler version/type filtering in cSocket::GetErrorString() is not working properly, I can't compile it under Cygwin
source/cSocket.cpp: In static member function 'static AString cSocket::GetErrorString(int)':
source/cSocket.cpp:125:61: error: invalid conversion from 'int' to 'char*'
EDIT:
Apparently Cygwin does not have any of the _POSIX_C_SOURCE, _XOPEN_SOURCE and_GNU_SOURCE defines, so I changed
Now it compiles fine
source/cSocket.cpp: In static member function 'static AString cSocket::GetErrorString(int)':
source/cSocket.cpp:125:61: error: invalid conversion from 'int' to 'char*'
EDIT:
Apparently Cygwin does not have any of the _POSIX_C_SOURCE, _XOPEN_SOURCE and_GNU_SOURCE defines, so I changed
Code:
#if (((_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)) && ! _GNU_SOURCE)
to
#if ((((_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)) && ! _GNU_SOURCE) || __CYGWIN32__ )
Now it compiles fine