[Bug libstdc++/71107] wstring_convert::from_bytes produces wide chars with the wrong byte order

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 13 17:23:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71107

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Presumably this would be the portable equivalent:

int main() {
    wchar_t argv[1][6] = {L"a.out"};


More information about the Gcc-bugs mailing list