Turn the two bool parameters of parse_declarator() into an enum.
[cparser] / warning.c
index 894b782..77649d6 100644 (file)
--- a/warning.c
+++ b/warning.c
@@ -22,6 +22,8 @@
 #include "warning.h"
 
 warning_t warning = {
+       .other                         = true,
+
        .address                       = true,
        .aggregate_return              = false,
        .attribute                     = true,
@@ -87,7 +89,9 @@ void set_warning_opt(const char *const opt)
 #define SET(y)    (void)(warning.y = state)
 #define OPT(x, y) OPTX(x) SET(y)
        OPTX("all") {
-               /* Note: this switched on a lot of more warnings than gcc's -Wall */
+               /* Note: this switched on a lot more warnings than gcc's -Wall */
+               SET(other);
+
                SET(address);
                SET(attribute);
                SET(char_subscripts);