public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/8714: gcc bug: complaint on %c for strftime
@ 2002-12-04 16:26 Andries.Brouwer
0 siblings, 0 replies; 3+ messages in thread
From: Andries.Brouwer @ 2002-12-04 16:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
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 <time.h>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/8714: gcc bug: complaint on %c for strftime
@ 2002-12-04 17:54 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-12-04 17:54 UTC (permalink / raw)
To: Andries.Brouwer, gcc-bugs, gcc-prs, nobody
Synopsis: gcc bug: complaint on %c for strftime
State-Changed-From-To: feedback->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 4 17:54:42 2002
State-Changed-Why:
Testcase received. The warning still appears with 3.3CVS.
I think it was introduced to warn about possible Y2K problems.
Being a C++ programmer, I think I have no opinion about
whether this warning is a good thing or not.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8714
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/8714: gcc bug: complaint on %c for strftime
@ 2002-12-04 14:10 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-12-04 14:10 UTC (permalink / raw)
To: Andries.Brouwer, gcc-bugs, gcc-prs, nobody
Synopsis: gcc bug: complaint on %c for strftime
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Wed Dec 4 14:10:20 2002
State-Changed-Why:
Could you please post a self-contained testcase that shows
the report?
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8714
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-05 1:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-04 16:26 c/8714: gcc bug: complaint on %c for strftime Andries.Brouwer
-- strict thread matches above, loose matches on Subject: below --
2002-12-04 17:54 bangerth
2002-12-04 14:10 bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).