[Issue 24661] New: wctype_t and wctrans_t are platform-dependent

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 13 14:10:03 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24661

          Issue ID: 24661
           Summary: wctype_t and wctrans_t are platform-dependent
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: tim.dlang at t-online.de

The types wctype_t and wctrans_t are currently aliased to wchar_t, but that is
wrong for some platforms, like Linux.

The problem was found by comparing type sizes in druntime with type sizes found
with ImportC: https://github.com/dlang/dmd/pull/16571

--


More information about the Digitalmars-d-bugs mailing list