| Thread Tools | Search this thread |
|---|
af123_af007
| October 10, 2008 5:37 PM PDT Compile a file including Carbon.h and icpc version 10.1 20080801 failed | ||||
Hello, I will compile source code which include the header Carbon.h with the intel c++ compiler version 10.1 20080801 on Mac OS X 10.5.5. The following errors occurred:
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! | |||||
|
|||||||||||||
| 8290 users have contributed to 31236 threads and 99111 posts to date. |
|---|
| In the past 24 hours, we have 7 new thread(s) 20 new posts(s), and 30 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member zq.x |