[Issue 24660] New: atomic_wchar_t has wrong size on Posix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 13 12:20:30 UTC 2024


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

          Issue ID: 24660
           Summary: atomic_wchar_t has wrong size on Posix
           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

atomic_wchar_t currently has size 2 on all platforms, but should have the same
size as wchar_t, which is platform dependent.

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