../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.)
Building ACE 8.0.0 on Mac OS X 10.6 fails:
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.)