Bug 24652 – core.stdc.locale.lconv layout is platform dependent

Status
NEW
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2024-07-07T09:30:07Z
Last change time
2024-12-07T13:43:39Z
Assigned to
No Owner
Creator
Tim
Moved to GitHub: dmd#17483 →

Comments

Comment #0 by tim.dlang — 2024-07-07T09:30:07Z
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
Comment #1 by robert.schadek — 2024-12-07T13:43:39Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17483 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB