c/3190 Re: warning: `%y' yields only last 2 digits of year
Joe Buck
Joe.Buck@synopsys.com
Tue Mar 12 14:56:00 GMT 2002
The following reply was made to PR c/3190; it has been noted by GNATS.
From: Joe Buck <Joe.Buck@synopsys.com>
To: jsm28@cam.ac.uk (Joseph S. Myers)
Cc: dewar@gnat.com (Robert Dewar), clock@atrey.karlin.mff.cuni.cz,
geoffk@geoffk.org, gcc@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c/3190 Re: warning: `%y' yields only last 2 digits of year
Date: Tue, 12 Mar 2002 14:50:41 -0800 (PST)
> 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-prs
mailing list