Skip to content

sizeof(wchar_t) == 1 on GCC 6.5.0 #169

Open
@deadwood2

Description

For some reason, sizeof(wchar_t) is 1 on GCC 6.5.0. This is wrong as wchar_t should be 4 bytes long - otherwise it is no different than char. Also builtin define __ WCHAR_TYPE __ gets resolved for some reason to 'char'.

Need to check with GCC 10.5.0. If it was fixed, that it actually breaks binary compatibility with current "wrong" wc#? functions exposed in stdlib.library

Metadata

Assignees

No one assigned

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions