[Bug libstdc++/115064] New: Possible problem with money_put

2024-05-13 Thread lcarreon at bigpond dot net.au via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- I have been experimenting with std::money_put and discovered the following: #include #include #include #include #include int main() { std::locale loc{std::locale

[Bug libstdc++/114863] std::format applying grouping to nan's and inf's

2024-04-30 Thread lcarreon at bigpond dot net.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114863 --- Comment #7 from Leo Carreon --- I'm assuming the fix is for all floating point types not just double.

[Bug libstdc++/114863] New: std::format applying grouping to nan's and inf's

2024-04-26 Thread lcarreon at bigpond dot net.au via Gcc-bugs
iority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- The following code: #include #include #include #include int main() { std::locale::global(std::locale{"en_AU.utf8"}); double va

[Bug libstdc++/114862] New: std::uppercase not applying to nan's and inf's

2024-04-26 Thread lcarreon at bigpond dot net.au via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- The following code: #include #include #include int main() { double values[] = { std::numeric_limits::quiet_NaN(), -std::numeric_limits:

[Bug libstdc++/94869] [10 Regression] Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869 Leo Carreon changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #8 from Leo Carreon --

[Bug libstdc++/94869] [10 Regression] Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869 --- Comment #6 from Leo Carreon --- Thanks for your comments. I have realized what the issue is. It is to do with local_time and local_days being defined in namespace date and std::chrono.

[Bug c++/94869] New: Template argument deduction/substitution failure with Howard Hinnant's calendar library

2020-04-30 Thread lcarreon at bigpond dot net.au
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- The following bit of code used to compile ok with g++ 9.2.1. #include int main() { std::istrings

[Bug libstdc++/69877] Problem with std::basic_ios::setstate()

2016-02-19 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69877 --- Comment #1 from Leo Carreon --- In addition, if I comment out the line: vStream.exceptions(std::ios_base::badbit); The executable does not core dump.

[Bug libstdc++/69877] New: Problem with std::basic_ios::setstate()

2016-02-19 Thread lcarreon at bigpond dot net.au
++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- I created the following simple test program: #include #include int main() { std::ostringstream vStream; vStream.exceptions(std::ios_base::badbit

[Bug libstdc++/66464] codecvt_utf16 max_length returning incorrect value

2015-06-18 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66464 --- Comment #6 from Leo Carreon --- Has this fix been included in the recent gcc-5.1.1-3 update on Fedora 22?

[Bug libstdc++/66441] wstring_convert not working correctly

2015-06-09 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66441 --- Comment #5 from Leo Carreon --- Is this fix going to be applied to Fedora 22?

[Bug libstdc++/66417] std::codecvt_utf16 generates incorrect output

2015-06-09 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66417 --- Comment #5 from Leo Carreon --- Is this fix going to be applied to Fedora 22?

[Bug libstdc++/66464] codecvt_utf16 max_length returning incorrect value

2015-06-09 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66464 --- Comment #2 from Leo Carreon --- Just clarifying that my comments are to do with codecvt_utf16 and codecvt_utf8. The way I understand it, codecvt_utf16 should be converting between UTF-16 and UCS-4. UTF-16 uses 2 bytes for characters in the

[Bug libstdc++/66464] New: codecvt_utf16 max_length returning incorrect value

2015-06-08 Thread lcarreon at bigpond dot net.au
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- I just noticed that codecvt_utf16::max_length() is returning 3. This appears to be the wrong value because a surrogate pair is composed of 4 bytes therefore

[Bug libstdc++/66441] New: wstring_convert not working correctly

2015-06-05 Thread lcarreon at bigpond dot net.au
++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- Created attachment 35707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35707&action=edit Test program which demonstrates the issue In my opinion, there is a

[Bug libstdc++/66417] New: std::codecvt_utf16 generates incorrect output

2015-06-04 Thread lcarreon at bigpond dot net.au
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au Target Milestone: --- Created attachment 35696 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35696&action=edit Test program demonstrating the problem I a

[Bug c++/60396] New: Missing time_get<>::get() functions

2014-03-02 Thread lcarreon at bigpond dot net.au
ent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au According to the ISO 14882:2011 standard, the time_get<> facet has two additional get() functions. I have checked locale_facets_nonio.h where time_get<> is declared and the 2 get() funct

[Bug libstdc++/57976] Missing time_get<>::get() functions

2013-07-24 Thread lcarreon at bigpond dot net.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57976 --- Comment #2 from Leo Carreon --- Is there a plan to implement those functions? If yes, in which version?

[Bug libstdc++/57976] New: Missing time_get<>::get() functions

2013-07-24 Thread lcarreon at bigpond dot net.au
ibstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: lcarreon at bigpond dot net.au The standard facet time_get<> is missing the get() functions. According to the GCC 4.7 C++11 Implementation Status, Section 22.4.5.1 of the standard library is completely implemented.