Wireshark-dev: Re: [Wireshark-dev] ACN Source code

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 7 Nov 2006 09:14:38 +0100
On Mon, Nov 06, 2006 at 08:15:01PM +0000, ronnie sahlberg wrote:
> checked in

Here is the list of warnings it creates on my system:

In file included from packet-acn.c:56:
packet-acn.h:38:1: warning: C++ style comments are not allowed in ISO
C90
packet-acn.h:38:1: warning: (this will be reported only once per input
file)
In file included from packet-acn.c:56:
packet-acn.h:168: warning: type of bit-field 'dummy' is a GCC extension
packet-acn.h:169: warning: type of bit-field 'D' is a GCC extension
packet-acn.h:170: warning: type of bit-field 'H' is a GCC extension
packet-acn.h:171: warning: type of bit-field 'V' is a GCC extension
packet-acn.h:172: warning: type of bit-field 'L' is a GCC extension
packet-acn.h:173: warning: ISO C doesn't support unnamed structs/unions
packet-acn.h:174: warning: ISO C doesn't support unnamed structs/unions
packet-acn.h:175: warning: struct has no named members
packet-acn.h:183: warning: type of bit-field 'A' is a GCC extension
packet-acn.h:184: warning: type of bit-field 'X' is a GCC extension
packet-acn.h:185: warning: type of bit-field 'D' is a GCC extension
packet-acn.h:186: warning: type of bit-field 'R' is a GCC extension
packet-acn.h:187: warning: type of bit-field 'V' is a GCC extension
packet-acn.h:188: warning: ISO C doesn't support unnamed structs/unions
packet-acn.h:189: warning: ISO C doesn't support unnamed structs/unions
packet-acn.c: In function 'acn_add_channel_owner_info_block':
packet-acn.c:367: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c:368: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c: In function 'acn_add_channel_member_info_block':
packet-acn.c:398: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c:399: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c: In function 'dissect_acn_sdt_wrapped_pdu':
packet-acn.c:1492: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c:1493: warning: passing argument 5 of 'acn_add_expiry'
discards qualifiers from pointer target type
packet-acn.c:1684:1: warning: C++ style comments are not allowed in ISO
C90
packet-acn.c:1684:1: warning: (this will be reported only once per input
file)
packet-acn.c: At top level:
packet-acn.c:1686: warning: no previous declaration for 'reverse'
packet-acn.c:1709: warning: no previous declaration for 'ltos'
packet-acn.c: In function 'dissect_acn_sdt_base_pdu':
packet-acn.c:2258: warning: passing argument 5 of 'acn_add_address'
discards qualifiers from pointer target type
packet-acn.c:2260: warning: passing argument 5 of 'acn_add_expiry'
discards qualifiers from pointer target type

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.