From: Panayotis K. <pan...@pa...> - 2011-10-17 15:05:05
|
I have just updated to Xcode 4.2 (the current Xcode version, compatible with iOS 5), and I found that the produced code (in C and obj-c) is not compilable any more. THe problem is with an object defined as a @class, and later on redefined using the typedef notation. After some experimentation, it seems that this is an issue with GCC& Clang. For some reason, Clang is more strict on this issue, while GCC is not. At least for the ObjC backend, if I change the compiler form Clang to GCC solved this issue. With C backend though I was not equally lucky (but I have to admit I didn't dig more into it). |