From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22702 invoked by alias); 5 Dec 2002 00:26:01 -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 22683 invoked by uid 71); 5 Dec 2002 00:26:01 -0000 Date: Wed, 04 Dec 2002 16:26:00 -0000 Message-ID: <20021205002601.22682.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Andries.Brouwer@cwi.nl Subject: Re: c/8714: gcc bug: complaint on %c for strftime Reply-To: Andries.Brouwer@cwi.nl X-SW-Source: 2002-12/txt/msg00257.txt.bz2 List-Id: The following reply was made to PR c/8714; it has been noted by GNATS. From: Andries.Brouwer@cwi.nl To: Andries.Brouwer@cwi.nl, bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c/8714: gcc bug: complaint on %c for strftime Date: Thu, 5 Dec 2002 01:20:26 +0100 (MET) > Could you please post a self-contained testcase #include int main() { strftime((char *)0,0,"%c",(struct tm *)0); return 0; } % gcc -Wall strftime.c strftime.c: In function `main': strftime.c:2: warning: `%c' yields only last 2 digits of year in some locales