diff options
author | Richard Guenther <richard.guenther@uni-tuebingen.de> | 2004-04-30 05:29:23 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2004-04-29 22:29:23 -0700 |
commit | c65a01af068213286f89fea69f26f0a7593dd1b9 (patch) | |
tree | 6a6d9a948a86807f77ca3ea4ba0484743388b9e7 /gcc/opts.c | |
parent | d1c6a4014429a8f3e3267c3f41c0be77b198fb38 (diff) | |
download | gcc-c65a01af068213286f89fea69f26f0a7593dd1b9.zip gcc-c65a01af068213286f89fea69f26f0a7593dd1b9.tar.gz gcc-c65a01af068213286f89fea69f26f0a7593dd1b9.tar.bz2 |
Patch from Richard Guenther.
* commom.opt (Wfatal-errors): Add it.
* diagnostic.c (flag_fatal_errors): Define it.
(diagnostic_action_after_output): Check for flag_fatal_errors.
* flags.h (flag_fatal_errors): Declare it.
* opts.c (common_handle_option): Add OPT_Wfatal_errors.
* doc/invoke.texi (Warning Options): Document -Wfatal-errors.
From-SVN: r81323
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -742,6 +742,10 @@ common_handle_option (size_t scode, const char *arg, set_Wextra (value); break; + case OPT_Wfatal_errors: + flag_fatal_errors = value; + break; + case OPT_Winline: warn_inline = value; break; |