Re: format argument does not have string type

2009-04-29 Thread Chris Lattner
On Apr 29, 2009, at 9:58 PM, Jack Howarth wrote: Does anyone understand why Apple's gcc-4.2 compiler in Xcode 3.1.2 accepts the following code... typedef const struct __CFString * CFStringRef; typedef struct __CFBundle *CFBundleRef; extern CFStringRef CFBundleCopyLocalizedString(CFBundleRef

format argument does not have string type

2009-04-29 Thread Jack Howarth
Does anyone understand why Apple's gcc-4.2 compiler in Xcode 3.1.2 accepts the following code... typedef const struct __CFString * CFStringRef; typedef struct __CFBundle *CFBundleRef; extern CFStringRef CFBundleCopyLocalizedString(CFBundleRef bundle, CFStringRef key, CFStringRef value, CFStri