[cfe-commits] [Patch] -Wformat: warn about using length modifiers with %n

Hans Wennborg hans at chromium.org
Thu Aug 2 02:10:04 PDT 2012


On Wed, Aug 1, 2012 at 2:43 PM, Hans Wennborg <hans at chromium.org> wrote:
> Hi all,
>
> As far as I know, using any length modifier with %n is undefined
> behavior. For some reason, Clang doesn't think so, but that's probably
> unintentional? The attached patch makes Clang warn about it.
>
> Please take a look.

Ping?



More information about the cfe-commits mailing list