c/3190 Re: warning: `%y' yields only last 2 digits of year

Joe Buck Joe.Buck@synopsys.com
Tue Mar 12 14:50:00 GMT 2002


> It's a style warning, as with many other GCC warnings.  It's of use if you
> consider that wanting to output 2-digit years is unusual and a bad idea.

Such things clearly don't belong in -Wall, especially since there are
situations where a two-digit year is required by the specification.




More information about the Gcc mailing list