X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.c;h=77649d67ca974c6990a3969ee3d6db4716b31c8c;hb=399a93414afe8992d5e156e765aa0b036d055a94;hp=894b782ba9b52d25310e74f3c355efa07f8ab65a;hpb=7925c93030a9356329e0d609c3e25bd25970bde5;p=cparser diff --git a/warning.c b/warning.c index 894b782..77649d6 100644 --- 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);