Luis Ontanon wrote:
> the point is what kind of warnings can be cleaned up:
> 
> to fix "pointer arguments differ in signedness" for example  would be
> a waste of time, as they are caused by guint8* used instaed of gchar*
> on those systems (most) that treat char as an unsigned.

Actually GCC already has a way to avoid this: "-Wno-pointer-sign".

Apparently:

http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00505.html

someone didn't like the fact that Linux had a few thousand such warnings 
when compiled with GCC 4.

We could add that and probably cut down the number of GCC warnings by, 
well, a few thousand.

Unfortunately I can't quite seem to figure out how to (correctly) test 
if GCC will accept the option, though.  Any ideas?
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to