X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.h;h=4cacecf823f5f4f8d0aaee874ea77d83b255cf53;hb=5ba6c59ce75fd069dfbfac1ce4d9a261c99251f6;hp=5ce30b90d293b68a1de08e999084a81a97069c0d;hpb=72f3f5c8a1f7ddb29aa761fd511b30473af9d4a7;p=cparser diff --git a/warning.h b/warning.h index 5ce30b9..4cacecf 100644 --- a/warning.h +++ b/warning.h @@ -71,9 +71,9 @@ typedef struct warning_t { bool nested_externs:1; /**< Warn if an 'extern' declaration is encountered within a function. */ bool nonnull:1; /**< Warn about passing a null pointer for arguments marked nonnull. */ bool old_style_definition:1; /**< Warn if an old-style function definition is used. */ -#if 0 // TODO bool packed:1; /**< Warn if a structure is given the packed attribute, but the packed attribute has no effect on the layout or size of the structure */ bool padded:1; /**< Warn if padding is included in a structure, either to align an element of the structure or to align the whole structure */ +#if 0 // TODO bool parentheses:1; /**< Warn if parentheses are omitted in certain contexts (assignment where truth value is expected, if-else-braces) */ #endif bool pointer_arith:1; /**< Warn about anything that depends on the "size of" a function type or of 'void' */