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

cbe: fix non-msvc externs and exports #18431

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Conversation

jacobly0
Copy link
Member

@jacobly0 jacobly0 commented Jan 2, 2024

This implements importing and exporting symbols that clash with C keywords.

@kcbanner I reverted enough of your changes that I half expect this to regress back to failing with msvc, but hopefully it will work with everything else, in which case feel free to work on getting it working with msvc again. Seems to work now.

Reapplies #17824
Closes #17817

@jacobly0 jacobly0 force-pushed the cbe-extern branch 3 times, most recently from d222dda to 04e8652 Compare January 3, 2024 07:16
@andrewrk andrewrk merged commit a9337be into ziglang:master Jan 3, 2024
10 checks passed
@jacobly0 jacobly0 deleted the cbe-extern branch January 4, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSVC update causing compilation failures: error C2169: '__fmax': intrinsic function, cannot be defined
2 participants