This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-3.0 bug in unixware 7.1.1 (serious)
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: gcc-3.0 bug in unixware 7.1.1 (serious)
- From: "Franciszek Czekala" <franciszek dot czekala at wp dot pl>
- Date: Fri, 29 Jun 2001 18:47:48 +0200
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