c-decl.c (c_decode_option): Accept optional numeric argument to -Wformat and set...
authorUlrich Drepper <drepper@redhat.com>
Mon, 31 Jan 2000 03:31:26 +0000 (03:31 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Mon, 31 Jan 2000 03:31:26 +0000 (03:31 +0000)
commit1d682cca6ec62698ace4bf6808048eeb71c77f03
treee047a2eac2af9f74e7a679067edfd0a36f939b8c
parent4d32029d61393cb78c7d4d5498666ebaef2b12f2
c-decl.c (c_decode_option): Accept optional numeric argument to -Wformat and set warn_format.

        * c-decl.c (c_decode_option): Accept optional numeric argument to
        -Wformat and set warn_format.
        * c-common.c: Don't emit warning about non-constant printf format
        string unless warn_format > 1.

From-SVN: r31706
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c