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

Fix compatibility with recent APPLE compilers #539

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

jcarpent
Copy link
Contributor

@jcarpent jcarpent commented Mar 3, 2024

nil is used as macro definition on recent APPLE platforms, as shown by this compilation error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/MacTypes.h:92:19: note: expanded from macro 'nil'
      #define nil nullptr

nil is used as macro definition on recent APPLE platforms, as shown by this compilation error:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/MacTypes.h:92:19: note: expanded from macro 'nil'
      #define nil nullptr
@jcarpent jcarpent merged commit 1285057 into coal-library:devel Mar 3, 2024
34 checks passed
@jcarpent jcarpent deleted the topic/apple branch March 3, 2024 19:38
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.

1 participant