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_addr16
> +#define src_addr64 src_addr.src_addr64

Can't we just change the uses of dst_addr16 and so on to 
dst_addr.dst_addr16 and so on and avoid using #define?


Steve

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to