This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71107] wstring_convert::from_bytes produces wide chars with the wrong byte order
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 May 2016 17:23:46 +0000
- Subject: [Bug libstdc++/71107] wstring_convert::from_bytes produces wide chars with the wrong byte order
- Auto-submitted: auto-generated
- References: <bug-71107-4 at http dot gcc dot gnu dot org/bugzilla/>
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"};