- .char_subscripts = true,
- .check_format = true,
- .empty_statement = false,
- .fatal_errors = false,
- .float_equal = false,
- .implicit_function_declaration = true,
- .implicit_int = true,
- .main = true,
- .missing_declarations = false,
- .missing_prototypes = false,
- .redundant_decls = true,
- .s_are_errors = false,
- .strict_prototypes = true,
- .switch_default = false,
- .unknown_pragmas = true,
- .unused_function = false,
- .unused_label = false,
- .unused_parameter = false,
- .unused_variable = false,
- .unused_value = true
-};
-
-/**
- * Switch on options for -Wall.
- */
-static void set_all_options(void) {
- warning.char_subscripts = true;
- warning.check_format = true;
- warning.empty_statement = true;
- /* warning.fatal_errors */
- /* warning.float_equal */
- warning.implicit_function_declaration = true;
- warning.implicit_int = true;
- warning.main = true;
- /* warning.missing_declarations */
- /* warning.missing_prototypes */
- warning.redundant_decls = true;
- /* warning.s_are_errors */
- warning.strict_prototypes = true;
- warning.switch_default = true;
- warning.unknown_pragmas = true;
- warning.unused_function = true;
- warning.unused_label = true;
- warning.unused_parameter = true;
- warning.unused_variable = true;
- warning.unused_value = true;
-}
-
-/**
- * Switch on options for -Wunused.
- */
-static void set_unused_options(void) {
- warning.unused_function = true;
- warning.unused_label = true;
- warning.unused_parameter = true;
- warning.unused_variable = true;
- warning.unused_value = true;
-}