JiaNemo / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

adding arc enabled code to idoubs doesn't compile #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add arc enabled code with the compiler flag -fobj-arc to the idoubs project. 
in my case I added the core of https://github.com/jverkoey/nimbus
2. try to compile.

What is the expected output? What do you see instead?
The compiler is giving me this:

ProcessPCH 
/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjux
wpxb/Build/Intermediates/PrecompiledHeaders/idoubs_Prefix-hgyhlhlhgzppprgjybcrry
gcqarl/idoubs_Prefix.pch.gch idoubs_Prefix.pch normal i386 objective-c 
com.apple.compilers.llvmgcc42
    cd /Users/yosit/git/socialism-iphone/iPhone/idoubs/branches/2.0/ios-idoubs
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -iquote /Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/idoubs-generated-files.hmap -I/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/idoubs-own-target-headers.hmap -I/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/idoubs-all-target-headers.hmap -iquote /Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/idoubs-project-headers.hmap -I/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Products/Debug-iphonesimulator/include -I../common-ngn-stack -I../ios-ngn-stack -I../../../../../doubango/branches/2.0/doubango/bindings/_common -I../../../../../doubango/branches/2.0/doubango/tinySDP/include -I../../../../../doubango/branches/2.0/doubango/tinySMS/include -I../../../../../doubango/branches/2.0/doubango/tinyHTTP/include -I../../../../../doubango/branches/2.0/doubango/tinySIP/include "-I$DOUBANGO/HOME/tinyMSRP/include" -I../../../../../doubango/branches/2.0/doubango/tinyMEDIA/include -I../../../../../doubango/branches/2.0/doubango/tinyNET/src -I../../../../../doubango/branches/2.0/doubango/tinySAK/src -I../../../../../doubango/branches/2.0/doubango/tinyDAV/include -I/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/DerivedSources/i386 -I/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/idoubs.build/Debug-iphonesimulator/idoubs.build/DerivedSources -F/Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Products/Debug-iphonesimulator -fobjc-arc -c /Users/yosit/git/socialism-iphone/iPhone/idoubs/branches/2.0/ios-idoubs/idoubs_Prefix.pch -o /Users/yosit/Library/Developer/Xcode/DerivedData/idoubs-boefpeyufbbuungfdysamjuxwpxb/Build/Intermediates/PrecompiledHeaders/idoubs_Prefix-hgyhlhlhgzppprgjybcrrygcqarl/idoubs_Prefix.pch.gch

cc1obj: error: unrecognized command line option "-fobjc-arc"

What version of the product or source code revision are you using? On what
operating system?
Mountain Lion with xcode 4.5

Please provide any additional information below.

Original issue reported on code.google.com by y...@taguri.com on 14 Oct 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Well, it turns out that this is because idoubs doesn't support the Apple LLVM 
compiler.
I think it would be best to close this issue and I'll open another one instead.

Original comment by y...@taguri.com on 14 Oct 2012 at 1:41

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 14 Oct 2012 at 3:21