[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-07-02 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #9 from XU Kailiang --- (In reply to Jonathan Wakely from comment #7) > So we should never use __timepunct directly (unless the formatting locale is > the classic locale, and profiling shows it's faster to format directly > instead o

[Bug c++/118964] include in the module causes a compilation error

2025-05-07 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118964 XU Kailiang changed: What|Removed |Added CC||xu2k3l4 at outlook dot com --- Comment #7

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-02-28 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #4 from XU Kailiang --- (In reply to Jonathan Wakely from comment #3) > Patch posted to the list (thanks!): > > https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674531.html This patch seems not well formatted. I re-sent a re-

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-01-25 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #2 from XU Kailiang --- Is this patch usable? Steps to setup struct tm are copied from other functions in chrono_io.h. Hope I didn't get them wrong. --- a/libstdc++-v3/include/bits/chrono_io.h +++ b/libstdc++-v3/include/bits/chrono_

[Bug libstdc++/117214] New: chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2024-10-18 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 Bug ID: 117214 Summary: chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-16 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 XU Kailiang changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/117085] New: chrono formatting: %c does not honor locale after expansion

2024-10-10 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 Bug ID: 117085 Summary: chrono formatting: %c does not honor locale after expansion Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal