2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-29 18:41:42 +08:00
Tobias Burnus cbbd2b1c82 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
2014-04-12 00:43:54 +02:00
..
2014-03-25 09:12:18 +00:00
2014-03-18 12:35:28 +00:00
2014-02-13 21:43:53 +00:00
2014-03-03 21:51:58 +00:00