Mail Archives: cygwin/1997/11/06/18:55:59
I've been working at porting a public-domain Windows news reader to Cygwin
using Unix makefiles in place of the (uggh!) Microsoft clueless-C
makefiles. Somewhere in the middle of <sys/sockets.h>, c++ starts to give
error messages that don't happen with gcc. I. e.,
/usr/lib/gcc-lib/i386-cygwin32\\cygnus-2.7.2-970404\\../../../../i386-cygwin32/include/winsock.h:769:
syntax error before `__attribute__'
/usr/lib/gcc-lib/i386-cygwin32\\cygnus-2.7.2-970404\\../../../../i386-cygwin32/include/winsock.h:773:
syntax error before `__attribute__'
The identical thing happens if I `borrow' <winsock.h> from Borland. I'm
pretty certain that, if you have a project that calls in <winsock.h> AKA
<sys/sockets.h> and compiles with c++.exe instead of cpp.exe, you'll get
the same error messages.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -