https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The Windows behaviour fails to conform to the C and C++ standards. I think _M_transform should check errno and throw an exception on error (which means removing the non-throwing exceptions specification from that function).