Re: [Wireshark-dev] unnamed structs - epan/dissectors/packet-ieee802154.h

2008-03-21 Thread Andrew Hood
Stephen Fisher wrote: > On Fri, Mar 21, 2008 at 03:01:47PM +1100, Andrew Hood wrote: > > >>Is there any way to make use of unnamd steructs a compilation error? > > > Not with gcc from what I can find so far. > > >>+#define dst_addr16 dst_addr.dst_addr16 >>+#define dst_addr64 dst_addr.dst_addr

Re: [Wireshark-dev] unnamed structs - epan/dissectors/packet-ieee802154.h

2008-03-20 Thread Stephen Fisher
On Fri, Mar 21, 2008 at 03:01:47PM +1100, Andrew Hood wrote: > Is there any way to make use of unnamed structs a compilation error? Not with gcc from what I can find so far. > +#define dst_addr16 dst_addr.dst_addr16 > +#define dst_addr64 dst_addr.dst_addr64 > +#define src_addr16 src_addr.src_add

[Wireshark-dev] unnamed structs - epan/dissectors/packet-ieee802154.h

2008-03-20 Thread Andrew Hood
Is there any way to make use of unnamed structs a compilation error? -- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who Index: epan/dissectors/packet-ieee802154.h === --- epan/dissec