On Tue, 27 May 2025 at 13:46, Tomasz Kaminski <tkami...@redhat.com> wrote:
>
>
>
> On Tue, May 27, 2025 at 2:38 PM Jonathan Wakely <jwak...@redhat.com> wrote:
>>
>> With -maix32 (the default) we only have 16-bit wchar_t so these tests
>> fail. The debug.cc one is because we use -fwide-exec-charset=UTF-32BE
>> which tries to encode each wide character as four bytes in a 2-byte
>> wchar_t. The format.cc one is because the clown face character can't be
>> encoded in a single 16-bit wchar_t.
>
> What is the encoding for the wchar_t? If it is UTF-16LE or UTF16-BE we should
> define them as fwide-exec-charset. What is the box you are using for tests?

$ g++ -E -dM -x c++ /dev/null | grep WIDE
#define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-16BE"

I use cfarm119 in the compile farm.

Reply via email to