www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24652] New: core.stdc.locale.lconv layout is platform dependent

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

          Issue ID: 24652
           Summary: core.stdc.locale.lconv layout is platform dependent
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: tim.dlang t-online.de

Type core.stdc.locale.lconv has just one definition in druntime, but the layout
is different for different platforms.

For OSX and FreeBSD, only the members int_p_sep_by_space and int_n_cs_precedes
seem to be swapped.

On Windows, the type has more differences.

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

--
Jul 07