[Bug objc/53905] -Wformat-nonliteral gives false positives with __attribute__((format(NSString,...)))

egall at gwmail dot gwu.edu gcc-bugzilla@gcc.gnu.org
Fri Jul 17 21:01:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53905

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #1 from Eric Gallager <egall at gwmail dot gwu.edu> ---
Huh, that's strange... I could have sworn in some other project, I managed to
silence these types of warnings by rewriting the call to NSLog as something
like:

NSLog(@"%@", @"Hi!");

...but that still seems to fail with your example here.



More information about the Gcc-bugs mailing list