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

On macOS, compile C with clang. #101

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

simonjwright
Copy link
Contributor

In SDK 15, Apple have used a macro (__has_extension()) which isn't supported by GCC up to and including 13.2. It will be supported in 13.3 and 14.1.

See this StackOverflow question & my answer, also this Homebrew discussion.

Unfortunately the unfixed version works fine under Github CI, and I don’t see how to update to show that it doesn’t work with SDK 15.

In SDK 15, Apple have used a macro (__has_extension()) which isn't
supported by GCC up to and including 13.2. It will be supported in
13.3 and 14.1.

  * build/gnat/sdlada.gpr (Compiler): set the driver for C to clang.
@Lucretia Lucretia merged commit 3d51bd5 into ada-game-framework:master Apr 29, 2024
3 checks passed
@simonjwright simonjwright deleted the macos-use-clang branch April 29, 2024 12:30
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