No, the Apple API headers don't use that to compile-out API based on the
max-allowed version. It's only for user code.


On Wed, Apr 3, 2013 at 11:21 AM, Jake Thomas Petroules <
[email protected]> wrote:

> Can't you just set __MAC_OS_X_VERSION_MAX_ALLOWED to 1060 with the 10.8
> SDK?
>    --
> *Jake Petroules*
> Chief Technology Officer
> Petroules Corporation · www.petroules.com
> Email: [email protected]
>
> On Apr 3, 2013, at 2:10 PM, Josh Faust <[email protected]> wrote:
>
>
> The question is why you want to build against the 10.6 SDK?
>
>
> Because it's recommended across the internet as the only way to
> compile-time check that you're only using 10.6 APIs (and, despite what you
> say, it does generally work). We started building Qt with it because
> various configuration options can make Qt build binaries that are
> incompatible with 10.6 (such as building with clang, which always uses
> libc++, which is not available on 10.6).
>
> Now that we have the correct configure options I guess we can rely on the
> minimum version, but it's painful finding out only at runtime that the
> version you built is actually not 10.6 compatible.
>
> Josh
> _______________________________________________
> Development mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/development
>
>
>
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to