https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048
Christian Fersch <gcc-bugzilla at m dot chronial.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-bugzilla at m dot 
chronial.de

--- Comment #6 from Christian Fersch <gcc-bugzilla at m dot chronial.de> ---
It seems like the solution would be to use codecvt_utf8 if wchar_t is 32bit and
 codecvt_utf8_utf16 if wchar_t is 16bit. This also seems to be what libc++ is
doing. Would you accept a patch for this?

Do we need to handle systems where wchar_t is something other than 16 or 32 bit
wide?

Reply via email to