[Bug c/118838] _Pragma diagnostic ignored inside macro

2025-02-12 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 --- Comment #2 from Luca Bacci --- > Given this has never worked in any version of GCC, it will probably need to > wait for GCC 16 at this point No problem at all, thanks for the fix!

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 --- Comment #16 from Luca Bacci --- Hi FeRD, Following your suggestion I have opened a dedicated ticket: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 Thanks, Luca

[Bug c/118838] New: _Pragma diagnostic ignored inside macro

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 Bug ID: 118838 Summary: _Pragma diagnostic ignored inside macro Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 Luca Bacci changed: What|Removed |Added CC||luca.bacci at outlook dot com --- Comment #

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #13 from Luca Bacci --- Here we are: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668988.html Let me know if anything is missing. Best regards, Luca

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #11 from Luca Bacci --- The problem happens in https://github.com/gcc-mirror/gcc/blob/releases/gcc-14.2.0/libstdc%2B%2B-v3/include/bits/regex_compiler.tcc#L612. _M_translator takes __collate (the std::regex::collate flag) in account,

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #10 from Luca Bacci --- There's another report for Solaris which is essentially a duplicate: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824. > the regex compilation will be affected by current locale even if > std::regex::collat

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #9 from Luca Bacci --- To respond the my previous comment: the expected string encoding is determined by the C locale in use, which is either the global one or imbued in std::regex_traits.

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2023-12-09 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Luca Bacci changed: What|Removed |Added CC||luca.bacci at outlook dot com --- Comment #