mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
invoke.texi (Warning Options): Replace -Werror- with -Werror=.
2007-03-06 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (Warning Options): Replace -Werror- with -Werror=. * opts.c (common_handle_option): Likewise. From-SVN: r122638
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2007-03-06 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
* doc/invoke.texi (Warning Options): Replace -Werror- with
|
||||
-Werror=.
|
||||
* opts.c (common_handle_option): Likewise.
|
||||
|
||||
2006-03-06 Anatoly Sokolov <aesok@post.ru>
|
||||
|
||||
* config/avr/avr.c (avr_mcu_types): Add support for ATmega325P,
|
||||
|
||||
@@ -225,7 +225,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||
-Wc++-compat -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment @gol
|
||||
-Wconversion -Wno-deprecated-declarations @gol
|
||||
-Wdisabled-optimization -Wno-div-by-zero -Wno-endif-labels @gol
|
||||
-Werror -Werror-* -Werror-implicit-function-declaration @gol
|
||||
-Werror -Werror=* -Werror-implicit-function-declaration @gol
|
||||
-Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol
|
||||
-Wno-format-extra-args -Wformat-nonliteral @gol
|
||||
-Wformat-security -Wformat-y2k @gol
|
||||
|
||||
@@ -688,7 +688,7 @@ common_handle_option (size_t scode, const char *arg, int value,
|
||||
option_index = find_opt (new_option, lang_mask);
|
||||
if (option_index == N_OPTS)
|
||||
{
|
||||
error ("-Werror-%s: No option -%s", arg, new_option);
|
||||
error ("-Werror=%s: No option -%s", arg, new_option);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user