This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]