Spell the option -Wdiv-by-zero, not -Wdiv_by_zero.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 15 Sep 2008 07:36:41 +0000 (07:36 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 15 Sep 2008 07:36:41 +0000 (07:36 +0000)
[r21955]

warning.c

index 954d2fc..3867718 100644 (file)
--- a/warning.c
+++ b/warning.c
@@ -120,7 +120,7 @@ void set_warning_opt(const char *const opt)
        OPT("conversion",                    conversion);
        OPT("declaration-after-statement",   declaration_after_statement);
        OPT("deprecated-declarations",       deprecated_declarations);
-       OPT("div_by_zero",                   div_by_zero);
+       OPT("div-by-zero",                   div_by_zero);
        OPT("empty-statement",               empty_statement);
        OPT("error",                         s_are_errors);
        OPTX("extra") {