• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: warning at nslog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: warning at nslog (From: Matt Neuburg <email@hidden>)
 >Re: warning at nslog (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: C++: std::ostringstream default ctor problems
  • Next by Date: Re: Xcode Tiger to Leopard duplicate symbols mystery
  • Previous by thread: Re: warning at nslog
  • Next by thread: C++: std::ostringstream default ctor problems
  • Index(es):
    • Date
    • Thread