[cfe-commits] [Patch] -Wformat-non-standard: warn about positional arguments (pr12017)

Joerg Sonnenberger joerg at britannica.bec.de
Mon Feb 27 08:54:07 PST 2012


On Mon, Feb 27, 2012 at 03:09:05PM +0000, Hans Wennborg wrote:
> The attached patch makes -Wformat-non-standard warn about the use of
> positional arguments (e.g. "%3$d") in format strings. (pr12017)

It sounds wrong to use -Wformat-non-standard for those, since they are
covered by POSIX.

Joerg



More information about the cfe-commits mailing list