Re: XCode 3 - SDK discrepencies ?
Re: XCode 3 - SDK discrepencies ?
- Subject: Re: XCode 3 - SDK discrepencies ?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 21 Jun 2008 23:41:13 +0200
Le 21 juin 08 à 23:37, Clark Cox a écrit :
On Sat, Jun 21, 2008 at 6:39 AM, turbo3d <email@hidden> wrote:
in MacOSX10.4u.sdk OSServices.h says
#include <OSServices/OpenTransport.h> with no conditions
in MacOSX10.5u.sdk OSServices.h says
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
#include <OSServices/OpenTransport.h>
...
#endif
So, as far as OpenTransport is concerned :
targeting 10.4 and using MacOSX10.4u.sdk is OK
but
targeting 10.4 and using MacOSX10.5u.sdk does not support
OpenTransport.
What is the reason of this ?
Thanks
JP
Looking through the OpenTransport.h header, it appears that every OT
function that is still available in OSX was deprecated as of 10.4, so
it's no surprise that the 10.5 SDK doesn't #include it by default. It
appears that you could include <OSServices/OpenTransport.h> yourself
in your code.
(Note, I haven't tried this, as it has been nearly a decade since I've
actually used any of the OpenTransport APIs)
It would be ok if the condition were
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
but I agree with the OP. This condition is wrong, as just changing the
SDK and targeting 10.4 will not works as it does using the 10.4 SDK.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden