Accepting "%@" in format string with __attribute__ format
Ian Lance Taylor
iant@google.com
Wed Mar 10 15:54:00 GMT 2010
Manfred Schwind <lists@mani.de> writes:
> Is there any chance to get gcc check my passed parameters the
> "Objective-C way" with "%@" included but still having the format
> string passed as plain old C-string?
Unfortunately I don't think this is possible. Over the years there
have been various proposals for extending the printf format checking,
but nothing has been widely accepted or implemented.
Ian
More information about the Gcc-help
mailing list