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

Add C23 header translations to druntime #20913

Open
fithisux opened this issue Feb 24, 2025 · 5 comments
Open

Add C23 header translations to druntime #20913

fithisux opened this issue Feb 24, 2025 · 5 comments
Labels
Druntime Specific to druntime

Comments

@fithisux
Copy link

fithisux commented Feb 24, 2025

My rationale is that a big push is happening to migrate code bases to C23 and betterC can't be left behind.

If it is already compliant please ignore my request.

@dkorpel
Copy link
Contributor

dkorpel commented Feb 24, 2025

Do you mean ImportC?

@fithisux
Copy link
Author

fithisux commented Feb 24, 2025

@dkorpel No betterC, whatever new functions in stdc are added. Currently C99+C11 are supported.

See section "new functions": https://en.wikipedia.org/wiki/C23_(C_standard_revision)

@dkorpel
Copy link
Contributor

dkorpel commented Feb 24, 2025

Oh, so you want new C23 bindings in druntime?

@fithisux
Copy link
Author

fithisux commented Feb 24, 2025

Yes, if they are available. Conditionally on some flag I suppose. Not of high priority, just to keep it in mind.

@dkorpel dkorpel added the Druntime Specific to druntime label Feb 24, 2025
@dkorpel dkorpel changed the title [Feature Request] C23 support for betterC Add C23 header translations to druntime Feb 24, 2025
@dkorpel
Copy link
Contributor

dkorpel commented Feb 24, 2025

Okay, then I'll mark this as a druntime enhancement. I don't see anything related to -betterC specifically, which is the subset of D features that work when only linking C's runtime lib as apposed to full D runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Druntime Specific to druntime
Projects
None yet
Development

No branches or pull requests

2 participants