[Bug libstdc++/126327] [17 regression] Build fails for *-w64-mingw32 due to exception specification mismatch

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126327

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <[email protected]>:

https://gcc.gnu.org/g:4e2b29c333fcbead93b2911326cff4218d3c155c

commit r17-2661-g4e2b29c333fcbead93b2911326cff4218d3c155c
Author: Nathan Blackburn <[email protected]>
Date:   Wed Jul 22 16:48:38 2026 +0000

    libstdc++: Remove noexcept from basic_string instantiations [PR126327]

    The explicit instantiations of basic_string's default constructor used
    an unconditional noexcept specification. For the fully-dynamic COW
    string, those default constructors are noexcept(false).

    Remove noexcept from both the char and wchar_t instantiations.

    libstdc++-v3/ChangeLog:

            PR libstdc++/126327
            * src/c++20/string-inst.cc (basic_string::basic_string): Remove
            noexcept.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.