[cfe-commits] [Patch] -Wformat: properly handle length modifiers used with %n (Was: -Wformat: warn about using length modifiers with %n)

Hans Wennborg hans at chromium.org
Tue Aug 7 10:29:16 PDT 2012


On Tue, Aug 7, 2012 at 6:12 PM, Peter Cooper <peter_cooper at apple.com> wrote:
> This series of commits seems to be breaking the gcc test suite.  Could you please investigate?
>
> The output we have is
>
> gcc.dg/format/c90-printf-1.c   bad argument types (test for warnings, line 200)
> gcc.dg/format/c90-printf-1.c  -DWIDE  bad argument types (test for warnings, line 200)
> gcc.dg/format/c99-printf-1.c   %hhn plain char (test for warnings, line 195)
> gcc.dg/format/c99-printf-1.c   %hhn unsigned char (test for warnings, line 196)
> gcc.dg/format/c99-printf-1.c  -DWIDE  %hhn plain char (test for warnings, line 195)
> gcc.dg/format/c99-printf-1.c  -DWIDE  %hhn unsigned char (test for warnings, line 196)
>
> Please let me know if there's anything else you need for this.

Thanks, I'm investigating.

 - Hans



More information about the cfe-commits mailing list