• 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
"Format not a string literal and no format arguments"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Format not a string literal and no format arguments"


  • Subject: "Format not a string literal and no format arguments"
  • From: Jonathan del Strother <email@hidden>
  • Date: Sat, 29 Aug 2009 13:36:18 +0100

After upgrading to snow leopard & Xcode 3.2, I've starting getting
this warning on NSLogs -

NSLog(@"Hello");  //   'Format not a string literal and no format arguments'
NSLog(@"Hello %@", name);   // compiles fine


I must have some weird project setting somewhere since a new test
project didn't throw these warnings, but I can't see what it is.  Any
suggestions?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: "Format not a string literal and no format arguments"
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Get error message about registered observers when Object receives dealloc message
  • Next by Date: Re: Get error message about registered observers when Object receives dealloc message
  • Previous by thread: Re: SOLVED -- llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
  • Next by thread: Re: "Format not a string literal and no format arguments"
  • Index(es):
    • Date
    • Thread