Hyosung / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
0 stars 0 forks source link

Does not compile with Apple LLVM 4.0 in Xcode 4.5 #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgrade to Xcode 4.5
2. Make sure the compiler is LLVM 4.0 (instead of GCC) for your project target
3. Build a project that uses Google-Toolbox

What is the expected output? What do you see instead?
Expected: Should compile without errors
Actual result: Compile errors:
GTMObjC2Runtime.m:32:15: No member named 'name' in 'struct objc_class'
GTMObjC2Runtime.m:46:22: No member named 'protocols' in 'struct objc_class'
GTMObjC2Runtime.m:46:64: Incomplete definition of type 'struct 
objc_protocol_list'
GTMObjC2Runtime.m:47:32: Incomplete definition of type 'struct 
objc_protocol_list'
GTMObjC2Runtime.m:48:18: Incomplete definition of type 'struct 
objc_protocol_list'
GTMObjC2Runtime.m:58:15: No member named 'super_class' in 'struct objc_class'
GTMObjC2Runtime.m:74:20: 'class_nextMethodList' is unavailable
GTMObjC2Runtime.m:75:14: Incomplete definition of type 'struct objc_method_list'
GTMObjC2Runtime.m:77:64: Incomplete definition of type 'struct objc_method_list'
GTMObjC2Runtime.m:82:30: Incomplete definition of type 'struct objc_method_list'
GTMObjC2Runtime.m:83:34: Incomplete definition of type 'struct objc_method_list'
GTMObjC2Runtime.m:85:19: Incomplete definition of type 'struct objc_method_list'
GTMObjC2Runtime.m:98:16: Incomplete definition of type 'struct objc_method'
GTMObjC2Runtime.m:103:16: Incomplete definition of type 'struct objc_method'
GTMObjC2Runtime.m:122:20: Incomplete definition of type 'struct objc_method'
GTMObjC2Runtime.m:123:11: Incomplete definition of type 'struct objc_method'

What version of the product are you using? On what operating system?
Xcode 4.5 with LLVM 4.0 on Mac OS X 10.7.4

Please provide any additional information below.

Original issue reported on code.google.com by tmanand@gmail.com on 12 Jun 2012 at 8:57

GoogleCodeExporter commented 9 years ago
Xcode 4.5 is pre-release and covered by your NDA, so I don't believe 
discussions are it in public places is allowed.  Yes, we'll look to support it 
when it releases.

Original comment by thoma...@gmail.com on 13 Jun 2012 at 3:43

GoogleCodeExporter commented 9 years ago
4.5 is now released, and this problem persists.

Original comment by brattb...@gmail.com on 21 Sep 2012 at 8:25

GoogleCodeExporter commented 9 years ago
I can reproduce the problem on Mac OS X 10.8.2

Original comment by moritz.s...@gmail.com on 24 Sep 2012 at 11:36

GoogleCodeExporter commented 9 years ago
I've encountered the same issue too. I'm using Xcode 4.5 with iOS SDK 6.0 on OS 
X 10.8.2. The compiler is LLVM 4.1. It's interesting the files are compiled w/o 
issues for iOS devices, but fail to build for iPhone Simulator.

Original comment by pluton...@gmail.com on 25 Sep 2012 at 7:38

GoogleCodeExporter commented 9 years ago
same thing here.

Original comment by igo...@gmail.com on 20 Oct 2012 at 7:16

GoogleCodeExporter commented 9 years ago
(same here)  why is the status invalid.  is there a way to fix these?

Original comment by owenge...@gmail.com on 11 Mar 2013 at 4:58