clang should interpret @(YES) the same as @YES
||Product Version:||Xcode 4.5.2|
The clang compiler should interpret @(YES), or better @(boolean expression), as equivalent to @YES or @NO. The former results in an __NSCFNumber, while the latter is an __NSCFBoolean. This creates subtle problems when using APIs such as GLKit's -textureWithContentsOfFile:options:error:, which appears to use == kCFBooleanTrue to compare values passed via its options dictionary (see bug 12761147).
Bug was closed as a duplicate of rdar://12156616. This bug was later fixed in Xcode 4.6, so now @(boolean expression) now results in kCFBooleanTrue or kCFBooleanFalse.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!