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
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
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