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

Compilation: set __GNUC__ and related macros #631

Merged
merged 3 commits into from
Feb 24, 2024
Merged

Conversation

ehaas
Copy link
Collaborator

@ehaas ehaas commented Feb 23, 2024

This allows us to pretend to be GCC 4.2.1 by default, just like clang.

This allows us to pretend to be GCC 4.2.1, just like clang
@ehaas
Copy link
Collaborator Author

ehaas commented Feb 23, 2024

This seems to be causing problems on Linux because setting these macros triggers an include_next in limits.h which is searching an incomplete set of paths.

@Vexu Vexu merged commit bebda7c into Vexu:master Feb 24, 2024
3 checks passed
@ehaas ehaas deleted the gnuc-version branch February 25, 2024 04:00
squeek502 added a commit to squeek502/zig that referenced this pull request Mar 5, 2024
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.

2 participants