Blog Archives

Taming Snow leopard: Format not a string literal and format arguments

I am porting MacTrek to OS X 10.6 native (from 10.4) and i got the “Format not a string literal and format arguments” error a couple of hundred times. Source of the problem is: #define LLLog if([[NSUserDefaults standardUserDefaults]boolForKey:@”LLLogDisabled”]!=YES)NSLog Apparently NSLog

Tagged with: ,
Posted in Code