From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17956 invoked by alias); 12 Mar 2002 22:56:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17910 invoked by uid 71); 12 Mar 2002 22:56:02 -0000 Date: Tue, 12 Mar 2002 14:56:00 -0000 Message-ID: <20020312225602.17900.qmail@sources.redhat.com> To: jsm28@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Joe Buck Subject: Re: c/3190 Re: warning: `%y' yields only last 2 digits of year Reply-To: Joe Buck X-SW-Source: 2002-03/txt/msg00403.txt.bz2 List-Id: The following reply was made to PR c/3190; it has been noted by GNATS. From: Joe Buck 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.