sdk-ng icon indicating copy to clipboard operation
sdk-ng copied to clipboard

xtensa wchar_t is 16 bits?

Open keith-packard opened this issue 1 year ago • 0 comments
trafficstars

I just did a survey of all of the SDK compilers and only xtensa uses a 2-byte wchar_t. This means that applications built on xtensa will not be able to handle the full Unicode range. Looking at the xtensa gcc config, only the embedded build uses this size; other xtensa toolchain options use a 4-byte wchar_t. This seems like an opportunity for errors when porting software between xtensa and other architectures.

keith-packard avatar Oct 22 '24 04:10 keith-packard