X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.h;h=31d9005bc785ad088dd8b07cda0a44faf4fb009d;hb=7925c93030a9356329e0d609c3e25bd25970bde5;hp=4cacecf823f5f4f8d0aaee874ea77d83b255cf53;hpb=84b0c7d487744836ad5c80fba4f481d9eed12920;p=cparser diff --git a/warning.h b/warning.h index 4cacecf..31d9005 100644 --- a/warning.h +++ b/warning.h @@ -25,6 +25,7 @@ void set_warning_opt(const char *opt); typedef struct warning_t { + bool address:1; /**< Warn about suspicious uses of memory addresses */ bool aggregate_return:1; /**< Warn if any functions that return structures or unions are defined or called */ bool attribute:1; /**< Warn if an unexpected `__attribute__' is used or function attributes applied to variables, etc. */ #if 0 // TODO