Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core.stdc.locale.lconv layout is platform dependent #17483

Open
dlangBugzillaToGithub opened this issue Jul 7, 2024 · 0 comments
Open

core.stdc.locale.lconv layout is platform dependent #17483

dlangBugzillaToGithub opened this issue Jul 7, 2024 · 0 comments
Labels
Arch:x86_64 Issues specific to x86_64 Druntime Specific to druntime OS:Windows P1 Severity:normal

Comments

@dlangBugzillaToGithub
Copy link

Tim reported this on 2024-07-07T09:30:07Z

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

Description

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
@thewilsonator thewilsonator added the Druntime Specific to druntime label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:x86_64 Issues specific to x86_64 Druntime Specific to druntime OS:Windows P1 Severity:normal
Projects
None yet
Development

No branches or pull requests

2 participants