[Bug libstdc++/26701] std::time_get parses only 2 digits of year, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #6 from murrayc at murrayc dot com 2006-03-15 18:02 --- Admittedly the libstdc++ time_get::get_date() documentation does say that it interprets it according to format "X", and now I understand what it meant. I was looking at the dinkumware and roguewave documen

[Bug libstdc++/26701] std::time_get parses only 2 digits of year, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #3 from murrayc at murrayc dot com 2006-03-15 17:51 --- That's maybe excusable for display, but all the documentation that I can find for time_get says that it should parse up to 4 year digits. You mention in the other bug that the locale information is used for parsing

[Bug libstdc++/26701] std::time_get parses only 2 digits of year, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #1 from murrayc at murrayc dot com 2006-03-15 17:44 --- Created an attachment (id=11054) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11054&action=view) testtimeget.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701

[Bug libstdc++/26701] New: std::time_get parses only 2 digits of year, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
FIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: murrayc at murrayc dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701

[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #9 from murrayc at murrayc dot com 2006-03-15 17:43 --- > By the way, can't you just prepare a small function consistently using 'Y', just a few lines, after all... I need to support all locales. I may have to special-case en_GB. -- http://gc

[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #7 from murrayc at murrayc dot com 2006-03-15 17:33 --- Maybe we can just call it an enhancement or improvement then? (Thought I strongly feel that any date meant for humans to read must have 4 year digits and any use of 2 year digits for a human to read should be a bug

[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #5 from murrayc at murrayc dot com 2006-03-15 17:20 --- > I mean, what evidence do you have that the en_GB locale data should be > different? I see no reason why en_GB should want to show 2 year digits, while en_US and en_DE should be happy with 4. 2 digits l

[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #3 from murrayc at murrayc dot com 2006-03-15 17:11 --- Oh, and before I submit a time_get function, do we use a glibc function for time_get too? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697

[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
--- Comment #2 from murrayc at murrayc dot com 2006-03-15 17:10 --- Thanks. So, can't we just reassign this to glibc then? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697

[Bug libstdc++/26697] New: time_put::put('x') shows only 2 year digits, in en_GB locale.

2006-03-15 Thread murrayc at murrayc dot com
Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: murrayc at murrayc dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2005-04-29 Thread murrayc at murrayc dot com
--- Additional Comments From murrayc at murrayc dot com 2005-04-29 08:20 --- Created an attachment (id=8761) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8761&action=view) test_castdeleted.cc This fails (gives odd values) with g++ 3.3, 3.4 and 4.0. -- http://gcc.

[Bug c++/21279] New: static Derived-to-Base cast fails when ~Derived has run.

2005-04-29 Thread murrayc at murrayc dot com
t org ReportedBy: murrayc at murrayc dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21279