#include "warning.h"
warning_t warning = {
+ .address = true,
.aggregate_return = false,
.attribute = true,
.cast_qual = false,
#define OPT(x, y) OPTX(x) SET(y)
OPTX("all") {
/* Note: this switched on a lot of more warnings than gcc's -Wall */
+ SET(address);
SET(attribute);
SET(char_subscripts);
SET(comment);
SET(unused_value);
SET(unused_variable);
}
+ OPT("address", address);
OPT("aggregate-return", aggregate_return);
OPT("attribute", attribute);
OPT("cast-qual", cast_qual);
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);