Spell the option -Wpointer-arith, not -Wpointer_arith.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 15 Sep 2008 08:47:29 +0000 (08:47 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 15 Sep 2008 08:47:29 +0000 (08:47 +0000)
[r21957]

warning.c

index 3867718..e2014d2 100644 (file)
--- a/warning.c
+++ b/warning.c
@@ -157,7 +157,7 @@ void set_warning_opt(const char *const opt)
        OPT("old-style-definition",          old_style_definition);
        OPT("packed",                        packed);
        OPT("padded",                        padded);
-       OPT("pointer_arith",                 pointer_arith);
+       OPT("pointer-arith",                 pointer_arith);
        OPT("redundant-decls",               redundant_decls);
        OPT("return-type",                   return_type);
        OPT("shadow",                        shadow);