diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-11 16:54:49 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-11 16:54:49 +0000 |
commit | 19ec5c9ee8372c111378c1759f7b5a7c2d6ec2f0 (patch) | |
tree | 2057187053c110209cde5ca5305225655fda8d8f /gcc/opts.h | |
parent | 44579526831b5a2aa4e089b499f3b804aeec97d5 (diff) | |
download | gcc-19ec5c9ee8372c111378c1759f7b5a7c2d6ec2f0.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index ec9fbc7ba4e..069333b7f74 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -257,7 +257,6 @@ extern void read_cmdline_option (struct gcc_options *opts, unsigned int lang_mask, const struct cl_option_handlers *handlers, diagnostic_context *dc); -extern void register_warning_as_error_callback (void (*callback) (int)); extern void enable_warning_as_error (const char *arg, int value, unsigned int lang_mask, const struct cl_option_handlers *handlers, |