opts.h
9.8 KB
-
opts.c (warning_as_error_callback, [...]): Remove. · f954bd2c
* opts.c (warning_as_error_callback, register_warning_as_error_callback): Remove. (enable_warning_as_error): Don't use warning_as_error_callback. * opts.h (register_warning_as_error_callback): Remove. c-family: * c-opts.c (warning_as_error_callback): Remove. (c_common_initialize_diagnostics): Don't call register_warning_as_error_callback. (c_common_handle_option): Handle -Werror=normalized= here. testsuite: * gcc.dg/cpp/warn-normalized-3.c: Update expected note text. From-SVN: r166606
Joseph Myers committed