Skip to content

xtensa wchar_t is 16 bits? #829

Open
@keith-packard

Description

@keith-packard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: GCCIssues related to GCC (GNU Compiler Collection)

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions