parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
- Subject: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
- From: Hugh Sontag <email@hidden>
- Date: Thu, 19 Feb 2009 15:48:15 -0600
I'm getting the following error when trying to compile my application:
CompileC
build/SyncProXUniversal30Leopard.build/UniversalWSymbols/SynchronizeProX.build/Objects-normal/ppc/FolderPath.o
/Users/hsontag/SyncProXPentium/source/FolderPath.c normal ppc c
com.apple.compilers.gcc.3_3
cd /Users/hsontag/SyncProXPentium
setenv MACOSX_DEPLOYMENT_TARGET 10.3
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.5.sdk
/usr/bin/gcc-3.3 -x c -arch ppc -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -mdynamic-no-pic
-Wreturn-type -Wunused-variable -mtune=G4
-Wp,-header-mapfile,/Users/hsontag/SyncProXPentium/build/SyncProXUniversal30Leopard.build/UniversalWSymbols/SynchronizeProX.build/SynchronizeProX.hmap
-F/Users/hsontag/SyncProXPentium/build/UniversalWSymbols
-I/Users/hsontag/SyncProXPentium/build/UniversalWSymbols/include
-I/Users/hsontag/SyncProXPentium/build/SyncProXUniversal30Leopard.build/UniversalWSymbols/SynchronizeProX.build/DerivedSources
-DMAC_OS_X_VERSION_MIN_REQUIRED=1030 -fconstant-cfstrings
-D__CONSTANT_CFSTRINGS__ -isystem
/Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc/darwin/3.3 -isystem
/Developer/SDKs/MacOSX10.5.sdk/usr/include -c
/Users/hsontag/SyncProXPentium/source/FolderPath.c -o
/Users/hsontag/SyncProXPentium/build/SyncProXUniversal30Leopard.build/UniversalWSymbols/SynchronizeProX.build/Objects-normal/ppc/FolderPath.o
In file included from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:27,
from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37,
from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from
/Users/hsontag/SyncProXPentium/ProHeaders/CarbonPrefixPB.h:9,
from /Users/hsontag/SyncProXPentium/source/FolderPath.c:10:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h:53:
error: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
Background:
I upgraded from Xcode 3.0 to XCode 3.1.2. I need to build my
application on PPC for Mac OS X 10.3.0 through Leopard, so I build
with gcc 3.3 on PPC. The application includes calls to Leopard-only
features, but the Leopard-only APIs are called only when running on
Leopard.
I'm using the following target build user settings:
GCC_VERSION_ppc 3.3
MAC_OS_X_VERSION_MAX_ALLOWED_ppc 10.4
OTHER_LDFLAGS_ppc -L/Xcode2.5/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3
Other build settings that may be relevant:
Base SDK: Mac OS X 10.5
Deployment Target, Any SDK, PowerPC: Mac OS X 10.3
This worked using XCode 3.0. I get the above error when building
using Xcode 3.1.2.
Any suggestions on what I can do to build correctly?
_______________________________________________
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