- bool redundant_decls:1; /**< Warn about redundant declarations */
- bool return_type:1; /* TODO not fully implemented */ /**< Warn about function definitions with a return-type that defaults to 'int'. Also warn about any 'return' statement with no return-value in a function whose return-type is not 'void'. */
- bool s_are_errors:1; /**< Treat warnings as errors */
+ 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' */