This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accepting "%@" in format string with __attribute__ format


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]