gcc-3.0 bug in unixware 7.1.1 (serious)
Franciszek Czekala
franciszek.czekala@wp.pl
Fri Jun 29 09:53:00 GMT 2001
The file byteorder.h
(gcc-dir/lib/gcc-lib/i586-sco-sysv5uw7.1.1/3.0/include/sys/byteorder.h)
defines htons and ntohs functions as having the argument unsigned int
instead of unsigned short (short is what these functions are about,
aren't they?) thus conflicting with /usr/include/arpa/inet.h
and preventing network applications from compiling.
This can be fixed by manually editing appropriate declarations
and definitions in byteorder.h but it would be better if the correct
file were generated (it is meant to fix some problems with default
system include files so it is funny that it introduces new ones).
Best regards
Franciszek Czekala, Poland
More information about the Gcc-bugs
mailing list