This is the mail archive of the gcc-patches@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: [5.0] PR60194 [c-family] add -Wformat-signedness to warn about %d/%u signedness mismatch


On Tue, 18 Feb 2014, Tobias Burnus wrote:

> This patch adds a warning to -Wformat=2, which can also be used as
> -Wformat -Wformat-signedness and which warns when the signedness
> of the argument doesn't match the one of %x/%u/%d/%i/...
> 
> That was motivated by a check of cppcheck, which found some issues
> in a bigger code.
> 
> Bootstrapped and regtested on x86-64-gnu-linux.
> OK when Stage 1 opens again?

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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