I just opened up Xcode 4.2 in Lion and created a new Image Unit from the template. Compiling it fails with errors in runtime.h:
Automatic Reference Counting Issue
Pointer to non-const type 'Protocol *' with no explicit ownership
Switching the compiler from Apple LLVM 3.0 to LLVM GCC 4.2 solves the problem.
Obviously a bug, but does anyone know what causes it?
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (Quart...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/quartz-dev-garchive-50095%40googlegroups.com
This email sent to quartz-dev-g...@googlegroups.com
The message "Automatic Reference Counting Issue" should be a clear
indicator that the problem is that the template hasn't been updated to
comply with ARC. If you turn off ARC in the compiler settings, or fix
the code so it's ARC-compliant, the error will go away.
--Kyle Sluder