Hi, thank you all for your suggestion.
I created the Sym link, relaunched XCode but when I compile I still get
errors like:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory

But the file exists... I am puzzled.
The error comes right from the stdarg.h file containing

#if defined(__GNUC__)
    #include_next <stdarg.h>   <<<<<<<<<<<< Here I get the error
#elif defined(__MWERKS__)
    #include "mw_stdarg.h"
#else
    #error "This header only supports __MWERKS__."
#endif


Regards
-- Leonardo


> Da: Richard Somers <rsomers.li...@infowest.com>
> Data: Thu, 15 Sep 2011 10:00:07 -0600
> A: Leonardo <mac.iphone....@gmail.com>
> Cc: <cocoa-dev@lists.apple.com>
> Oggetto: Re: SDK 10.5 on XCode 4.1
> 
> On Sep 15, 2011, at 8:13 AM, Leonardo wrote:
> 
>> I need to build using SDK 10.5. I work on Lion and XCode 4.1
> 
> If you need the MacOSX10.5.sdk one way to do this is to make a unix hard link
> to the sdk included with Xcode 3. To make a hard link use the following
> commands from the Terminal application.
> 
>      $ cd /Developer/SDKs
> 
>      $ sudo ln -s /Developer3/SDKs/MacOSX10.5.sdk MacOSX10.5.sdk
> 
> This assumes that the current Xcode 4 is in /Developer and Xcode 3 is in
> /Developer3.
> 
> --Richard
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to