10.2.8 SDK won't compile <Carbon/Carbon.h>
10.2.8 SDK won't compile <Carbon/Carbon.h>
- Subject: 10.2.8 SDK won't compile <Carbon/Carbon.h>
- From: David Dunham <email@hidden>
- Date: Fri, 14 Oct 2005 10:50:25 -0700
I'm still in the process of transitioning a Carbon app from
CodeWarrior to Xcode. I need to support 10.2.8, so I'm using the SDK.
However, it won't get as far as precompiling my prefix, choking on
<Carbon/Carbon.h> with a number of error messages such as:
In file included from /usr/include/machine/_types.h:26,
from /usr/include/sys/_types.h:27,
from /usr/include/_types.h:27,
from /usr/include/string.h:60,
from
/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:46,
from
/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
from
/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /Volumes/david-3/GameHouse/Acropolis/AcropolisPrefix.h:1:
/usr/include/ppc/_types.h:73: error: conflicting types for `typedef
union __mbstate_t __mbstate_t'
/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/ppc/ansi.h:95: error:
previous declaration as `typedef union __mbstate_t __mbstate_t'
I didn't see a fix for this when I searched. And switching to the
10.3.9 SDK didn't help either.
Is it safe enough to use 10.4u with gcc 3.3 and a deployment target of 10.2?
And what's the point of SDKs if they can't actually be used?
--
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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