Ethereal-dev: Re: [ethereal-dev] stupid -Wall patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bill Fumerola <billf@xxxxxxxxxxxxxx>
Date: Tue, 26 Oct 1999 17:10:09 -0400 (EDT)
On Tue, 26 Oct 1999, Guy Harris wrote:

> > In any case it was a %d which probably generated a warning for everyone.
> 
> Because "%d" is for signed numbers?  For better or worse, GCC 2.x
> doesn't seem to check the signedness of types being printed and of the
> format (e.g., warning about signed with "%u" or unsigned with "%d"; "%o"
> and "%x"/"%X" would presumably be considered OK with either), only the
> size and integer/pointer/floating-point nature.

Eww. I'd have to say 'for worse'.

-- 
- bill fumerola - billf@xxxxxxxxxxxxxx - BF1560 - computer horizons corp -
- ph:(800) 252-2421 - bfumerol@xxxxxxxxxxxxxxxxxxxx - billf@xxxxxxxxxxx  -