This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/9780: issues with time_get, time_put not being tied to correct _punct facet.
- From: bkoz at gcc dot gnu dot org
- To: bkoz at gcc dot gnu dot org, bkoz at redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 11 Mar 2003 15:05:45 -0000
- Subject: Re: libstdc++/9780: issues with time_get, time_put not being tied to correct _punct facet.
- Reply-to: bkoz at gcc dot gnu dot org, bkoz at gcc dot gnu dot org, bkoz at redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: issues with time_get, time_put not being tied to correct _punct facet.
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue Mar 11 15:05:45 2003
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Tue Mar 11 15:05:45 2003
State-Changed-Why:
No longer super-concerned about this, although it is a bug.
It doesn't apply to money or numeric facets, because they have their own *punct facets, and this kind of code would not be attempted (instead, the proper *punct facet would also be used).
I consider the lack of timepunct in the standard a bug.
However, things should still work, even with the current bogus design of time facets. I'll work on a hack to fix this.
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9780