diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-13 01:08:06 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-13 01:08:06 +0000 |
commit | 2bef00f6c5beb4563d4e8f5834a5a1e0955f07d9 (patch) | |
tree | 71af228ae671518483d416113abf3431b7af5e72 /gcc/opts-global.c | |
parent | 1fa1be9b502e7921f99be2d737b7c0f21cc0bc24 (diff) | |
download | gcc-2bef00f6c5beb4563d4e8f5834a5a1e0955f07d9.tar.gz |
2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* opts-global.c (postpone_unknown_option_warning): Fix spelling.
(print_ignored_options): Fix quoting.
* opts.c (common_handle_option): Likewise.
(set_debug_level): Likewise.
* toplev.c (process_options): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts-global.c')
-rw-r--r-- | gcc/opts-global.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opts-global.c b/gcc/opts-global.c index 6825943a8a5..80a84f629d2 100644 --- a/gcc/opts-global.c +++ b/gcc/opts-global.c @@ -132,7 +132,7 @@ complain_wrong_lang (const struct cl_decoded_option *decoded, we only complain about unknown -Wno-* options if they may have prevented a diagnostic. Otherwise, we just ignore them. Note that if we do complain, it is only as a warning, not an error; passing - the compiler an unrecognised -Wno-* option should never change + the compiler an unrecognized -Wno-* option should never change whether the compilation succeeds or fails. */ static void @@ -152,7 +152,7 @@ print_ignored_options (void) opt = ignored_options.pop (); warning_at (UNKNOWN_LOCATION, 0, - "unrecognized command line option \"%s\"", opt); + "unrecognized command line option %qs", opt); } } |