gcc -O3 -I/usr/X11R6/include -I../../include -c xwd.c
In file included from xwd.c:27:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which
is deprecated, use <stdlib.h> instead"
xwd.c: In function `DumpWidget':
xwd.c:68: warning: passing arg 1 of `error' makes integer from pointer without a
cast
xwd.c:68: too few arguments to function `error'
xwd.c:75: warning: passing arg 1 of `error' makes integer from pointer without a
cast
xwd.c:75: too few arguments to function `error'
xwd.c:113: warning: passing arg 1 of `error' makes integer from pointer without
a cast
xwd.c:113: too few arguments to function `error'
xwd.c: In function `Get_XColors':
xwd.c:228: warning: passing arg 1 of `error' makes integer from pointer without
a cast
xwd.c:228: too few arguments to function `error'
*** Error code 1
In file included from /usr/include/sys/types.h:96,
from types.h:54,
from xdr.c:22:
/usr/include/machine/endian.h:62: conflicting types for `htonl'
types.h:29: previous declaration of `htonl'
/usr/include/machine/endian.h:64: conflicting types for `ntohl'
types.h:28: previous declaration of `ntohl'
added the patch and a note to DESCR. This is certainly not ideal,
but insisting on using Xaw3d isn't either.
PR: 4058
Submitted by: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co>