diff options
author | Tobias Burnus <burnus@net-b.de> | 2014-04-12 00:43:54 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2014-04-12 00:43:54 +0200 |
commit | cbbd2b1c82942411f70b41f0aca6f480a01baef8 (patch) | |
tree | 393f5424c8fd3418772e0a6d95aebafeafbc5175 /gcc/c/c-array-notation.c | |
parent | cb41490017822947d5d5c9dbf713af00af306110 (diff) | |
download | gcc-cbbd2b1c82942411f70b41f0aca6f480a01baef8.zip gcc-cbbd2b1c82942411f70b41f0aca6f480a01baef8.tar.gz gcc-cbbd2b1c82942411f70b41f0aca6f480a01baef8.tar.bz2 |
re PR c/60194 (-Wformat should also warn when using %d (instead of %u) for unsigned arguments)
2014-04-11 Tobias Burnus <burnus@net-b.de>
PR c/60194
gcc/
* doc/invoke.texi (-Wformat-signedness): Document it.
(Wformat=2): Mention that this enables -Wformat-signedness.
gcc/c-family/
* c.opt (Wformat-signedness): Add
* c-format.c(check_format_types): Use it.
gcc/testsuite/
* * g++.dg/warn/warn_format_signedness.C: New.
* gcc.dg/format/warn-signedness.c: New.
From-SVN: r209328
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions