- c_mode must be set before init_types()
[cparser] / warning.h
index b53d2b3..fdc859d 100644 (file)
--- a/warning.h
+++ b/warning.h
@@ -77,9 +77,7 @@ typedef struct warning_t {
        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 */
-#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' */
 #if 0 // TODO
        bool pointer_to_int_cast:1;                 /**< Warn if cast from pointer to integer of different size. */