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 detection of MacOSX SDKs older than 10.10 #2260

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

ryandesign
Copy link
Contributor

Building ACE 8.0.0 on Mac OS X 10.6 fails:

../ace/config-macosx.h:32:2: error: Cannot detect MacOSX version
#error Cannot detect MacOSX version
 ^

because you are using the wrong __MAC_OS_X_VERSION_MAX_ALLOWED values for SDK versions earlier than 10.10. This PR fixes it. It also clarifies the error message: __MAC_OS_X_VERSION_MAX_ALLOWED represents the version of the SDK, not the version of macOS currently being used on the build machine nor the minimum version of macOS that will be required to run the compiled program. (The latter would be the deployment target.)

@jwillemsen jwillemsen merged commit e69db0c into DOCGroup:master Jul 25, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants