- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I will compile source codewhichinclude the header Carbon.h with the intel c++ compiler version10.1 20080801 onMac OS X 10.5.5.
The following errorsoccurred:
icpc test.cpp
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(53): error: expected a ";"
CFN_EXPORT const CFStringRef kCFErrorDomainCFNetwork __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_1_2);
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(67): error: expected a ";"
CFN_EXPORT const CFStringRef kCFErrorDomainWinSock __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_1_2);
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(131): error: expected a ";"
CFN_EXPORT const CFStringRef kCFGetAddrInfoFailureKey __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_1_2);
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(145): error: expected a ";"
CFN_EXPORT const CFStringRef kCFSOCKSStatusCodeKey __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_1_2);
The g++ version 4.0.1 works fine.
Please Can you help me!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try defining:
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1040
(or whatever versio you support)
I have no idea whether this is a bug, or we all just missed some floating blurb in the ocean of docs... if the latter is true, well, I suggest we also refrain from bobbing for apples come Halloween :P I think the success rate is approximately the same.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page