• 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: Just starting off in obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just starting off in obj C


  • Subject: Re: Just starting off in obj C
  • From: Paul Russell <email@hidden>
  • Date: Sun, 26 Oct 2008 06:31:26 -0700

On 24 Oct 2008, at 15:16, Alexander von Below wrote:


Am 25.10.2008 um 00:10 schrieb Paul Russell:

You probably got a compiler warning for this line - it's best not to ignore these.

No, he didn't. Even enabling the "Typecheck calls to printf/ scanf" (GCC_WARN_TYPECHECK_CALLS_TO_PRINTF) will not check NSLog



Note that gcc and some other compilers (e.g. Intel ICC) do support checking of printf-like argument lists via __attribute__ ((__format__(printf, format_index, args_index))). I guess that's not help with NSLog though, since it uses an NSString for the format specifier.


Paul

_______________________________________________
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: 
 >Just starting off in obj C (From: Michael <email@hidden>)
 >Re: Just starting off in obj C (From: Paul Russell <email@hidden>)
 >Re: Just starting off in obj C (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Problems adding files to cvs repository at sourceforge.net
  • Next by Date: Re: Project Find - Replace Fails Silently - Watch Movie!
  • Previous by thread: Re: Just starting off in obj C
  • Next by thread: OpenGL(ES) docs in Xcode?
  • Index(es):
    • Date
    • Thread