Need "fixed" <sys/byteorder.h> on Unixware 7
Orion Poplawski
orion@bvt.com
Wed Sep 16 07:49:00 GMT 1998
egcs-1.1b does not install a "fixed" header for <sys/byteorder.h> on
Unixware 7.
gcc chokes on the following line in the standard header byteorder.h
(actually in sys/byteorder_f.h which is called from sys/byteorder.h):
__asm unsigned long __htonl(hl)
Compile error is:
Building config.o
In file included from /usr/include/sys/byteorder.h:80,
from
/usr/egcs/lib/gcc-lib/i586-UnixWare7-sysv5/egcs-2.91.57/include/netinet/in.h
:35,
from /usr/include/netdb.h:62,
from config.c:22:
/usr/include/sys/byteorder_f.h:122: parse error before `unsigned'
In file included from config.c:26:
% gcc -v
Reading specs from
/usr/egcs/lib/gcc-lib/i586-UnixWare7-sysv5/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
% uname -a
UnixWare bvt10 5 7 i386 x86at SCO UNIX_SVR5
Included are all the system include files called.
-----
Orion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byteorder.h
Type: text/x-c
Size: 3990 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/e80b0f15/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byteorder_f.h
Type: text/x-c
Size: 5257 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/e80b0f15/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: in.h
Type: text/x-c
Size: 10228 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/e80b0f15/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netdb.h
Type: text/x-c
Size: 8798 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/e80b0f15/attachment-0003.bin>
More information about the Gcc-bugs
mailing list