Re: warning at nslog
Re: warning at nslog
- Subject: Re: warning at nslog
- From: Jens Alfke <email@hidden>
- Date: Mon, 28 Sep 2009 11:06:14 -0700
On Sep 28, 2009, at 9:29 AM, Sean McBride wrote:
The warning has
worked for printf and friends for a long time, and now in 10.6 it
works
with NSLog and friends, but it still does not work in other places,
such
as the SenTestingKit macros like STAssertEquals.
It could be made to work on those, by adding the necessary function
__attribute(())s in the headers — there's an attribute that identifies
a function/method parameter as a printf-style format string. For
details consult the GCC docs or look at the declarations of functions
like NSLog.
—Jens _______________________________________________
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