This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-3.0 bug in unixware 7.1.1 (serious)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]