Skip to content

Compiler error for SnapAndRun  #12

@ForrestShi

Description

@ForrestShi

Here is the details
//////////////////////////////////
CompileC "build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/LFHTTPRequest.o" LFWebAPIKit/LFHTTPRequest.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/shistone/workspace/githubs/objectiveflickr
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -pipe -fdiagnostics-print-source-range-info -Wno-trigraphs -fpascal-strings -O0 -Wmissing-field-initializers -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wfour-char-constants -Wsign-compare -Wshorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -fasm-blocks -fobjc-gc -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-generated-files.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-own-target-headers.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-all-target-headers.hmap" -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-project-headers.hmap" -F/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator -I/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator/include "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources/i386" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources" -c /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFHTTPRequest.m -o "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/LFHTTPRequest.o"

In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFHTTPRequest.m:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:61: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:69:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFHTTPRequest.m:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:69: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:69:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
2 errors generated.

CompileC "build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/ObjectiveFlickr.o" Source/ObjectiveFlickr.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/shistone/workspace/githubs/objectiveflickr
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -pipe -fdiagnostics-print-source-range-info -Wno-trigraphs -fpascal-strings -O0 -Wmissing-field-initializers -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wfour-char-constants -Wsign-compare -Wshorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -fasm-blocks -fobjc-gc -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-generated-files.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-own-target-headers.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-all-target-headers.hmap" -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-project-headers.hmap" -F/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator -I/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator/include "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources/i386" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources" -c /Users/shistone/workspace/githubs/objectiveflickr/Source/ObjectiveFlickr.m -o "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/ObjectiveFlickr.o"

In file included from /Users/shistone/workspace/githubs/objectiveflickr/Source/ObjectiveFlickr.m:28:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/Source/ObjectiveFlickr.h:28:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFWebAPIKit.h:34:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.h:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:61: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:37:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
In file included from /Users/shistone/workspace/githubs/objectiveflickr/Source/ObjectiveFlickr.m:28:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/Source/ObjectiveFlickr.h:28:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFWebAPIKit.h:34:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.h:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:69: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:37:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
2 errors generated.

CompileC "build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/LFSiteReachability.o" LFWebAPIKit/LFSiteReachability.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/shistone/workspace/githubs/objectiveflickr
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -pipe -fdiagnostics-print-source-range-info -Wno-trigraphs -fpascal-strings -O0 -Wmissing-field-initializers -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wfour-char-constants -Wsign-compare -Wshorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -fasm-blocks -fobjc-gc -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-generated-files.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-own-target-headers.hmap" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-all-target-headers.hmap" -iquote "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/ObjectiveFlickr-project-headers.hmap" -F/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator -I/Users/shistone/workspace/githubs/objectiveflickr/build/Debug-iphonesimulator/include "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources/i386" "-I/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/DerivedSources" -c /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.m -o "/Users/shistone/workspace/githubs/objectiveflickr/build/ObjectiveFlickr.build/Debug-iphonesimulator/ObjectiveFlickr (library).build/Objects-normal/i386/LFSiteReachability.o"

In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.m:29:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.h:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3217:61: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCValNetIPv6ConfigMethodLinkLocal, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:69:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.m:29:
In file included from /Users/shistone/workspace/githubs/objectiveflickr/LFWebAPIKit/LFSiteReachability.h:29:
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:126:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:3: error: invalid token after top level declarator
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:3959:69: note: instantiated from:
SC_SCHEMA_DECLARATION(kSCPropNetProxiesProxyAutoConfigJavaScript, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA))
^
:69:1: note: instantiated from:
__AVAILABILITY_INTERNAL__MAC_10_7
^
2 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions