NS_FORMAT_FUNCTION broken on Xcode 3.2.3?
NS_FORMAT_FUNCTION broken on Xcode 3.2.3?
- Subject: NS_FORMAT_FUNCTION broken on Xcode 3.2.3?
- From: Dave MacLachlan <email@hidden>
- Date: Fri, 27 Aug 2010 13:00:35 -0700
Anybody else seeing this?
With -Wformat:
printf("%s", 10) gives me a warning/error
[NSString stringWithFormat:@"%s", 10) compiles happily.
This is with gnuc99 on, and the 10.6 SDK.
NS_FORMAT_FUNCTION is defined as __attribute__((format(__NSString__,
1, 2))
Am I just being stupid? I'm sure this was working on an earlier
version of Xcode.
Cheers,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden