This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Accepting "%@" in format string with __attribute__ format
- From: Ian Lance Taylor <iant at google dot com>
- To: Manfred Schwind <lists at mani dot de>
- Cc: GCC-Help Mailing List <gcc-help at gcc dot gnu dot org>
- Date: Wed, 10 Mar 2010 07:53:45 -0800
- Subject: Re: Accepting "%@" in format string with __attribute__ format
- References: <E4581913-C44D-4BB4-B134-3D84B8F861B4@mani.de>
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