Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Wed, 10 Nov 1999 10:47:46 -0500
Hi,

Some more AIX problems. :)

I get the following errors:
===============================================================================
"packet-ipv6.h", line 99.9: 1506-213 (S) Macro name IPV6_VERSION cannot be redefined.
"packet-ipv6.h", line 99.9: 1506-358 (I) "IPV6_VERSION" is defined on line 467 of /usr/include/netinet/in.h.
"packet-ipv6.h", line 423.25: 1506-009 (S) Bit-field rr_test must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 424.25: 1506-009 (S) Bit-field rr_reqresult must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 425.25: 1506-009 (S) Bit-field rr_forceapply must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 426.25: 1506-009 (S) Bit-field rr_specsite must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 427.25: 1506-009 (S) Bit-field rr_prevdone must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 428.25: 1506-009 (S) Bit-field rr_flags_reserved must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 472.17: 1506-009 (S) Bit-field rpu_mask_onlink must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 473.17: 1506-009 (S) Bit-field rpu_mask_autonomous must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 474.17: 1506-009 (S) Bit-field rpu_mask_reserved must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 475.17: 1506-009 (S) Bit-field rpu_onlink must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 476.17: 1506-009 (S) Bit-field rpu_autonomous must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 477.17: 1506-009 (S) Bit-field rpu_raflags_reserved must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 509.17: 1506-009 (S) Bit-field rrr_flags_reserved must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 510.17: 1506-009 (S) Bit-field rrr_outofbound must be of type signed int, unsigned int or int.
"packet-ipv6.h", line 511.17: 1506-009 (S) Bit-field rrr_forbidden must be of type signed int, unsigned int or int.

===============================================================================

I checked my compiler's documentation, and it says,
"In C, you can declare a bit field as type int, signed int, or unsigned int.
 Bit fields of the type int are equivalent to those of type unsigned int."

So would it break things horribly if I changed lines like:
guint8  rrr_forbidden : 1;

to

gint32  rrr_forbidden: 1;

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx