This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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"};

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]