- bool missing_noreturn:1; /**< Warn about functions which might be candidates for attribute 'noreturn' */
- bool missing_prototypes:1; /**< Warn if a global function is defined without a previous prototype declaration */
- bool multichar:1; /**< Warn if a multicharacter constant ('FOOF') is used. */
- 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. */
- 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 */
- bool parentheses:1; /**< Warn if parentheses are omitted in certain contexts (assignment where truth value is expected, if-else-braces) */
- bool pointer_arith:1; /**< Warn about anything that depends on the "size of" a function type or of 'void' */
+ WARN_MISSING_NORETURN, /**< Warn about functions which might be candidates for attribute 'noreturn' */
+ WARN_MISSING_PROTOTYPES, /**< Warn if a global function is defined without a previous prototype declaration */
+ WARN_MULTICHAR, /**< Warn if a multicharacter constant ('FOOF') is used. */
+ WARN_NESTED_EXTERNS, /**< Warn if an 'extern' declaration is encountered within a function. */
+ WARN_NONNULL, /**< Warn about passing a null pointer for arguments marked nonnull. */
+ WARN_OLD_STYLE_DEFINITION, /**< Warn if an old-style function definition is used. */
+ WARN_OTHER, /**< Warnings not covered by any other option */
+ WARN_PACKED, /**< Warn if a structure is given the packed attribute, but the packed attribute has no effect on the layout or size of the structure */
+ WARN_PADDED, /**< Warn if padding is included in a structure, either to align an element of the structure or to align the whole structure */
+ WARN_PARENTHESES, /**< Warn if parentheses are omitted in certain contexts (assignment where truth value is expected, if-else-braces) */
+ WARN_POINTER_ARITH, /**< Warn about anything that depends on the "size of" a function type or of 'void' */