Martin Mathieson wrote:
> Does anyone know of a gcc flag we can add to catch cases like this? It
> (obviously) compiled clean on my work machine.
I have a vague memory that newer versions of GCC (4.2? 4.3?) might have
a -W flag to catch implicit narrowing conversations, but I didn't see
anything obvious in the 4.3 manual; I might instead be remembering a
discussion that adding support for this would be a good idea, such as
http://www.cs.berkeley.edu/~wychen/cs261/proposal.htm
or
http://gcc.gnu.org/ml/gcc/2004-06/msg01365.html
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev