[gcc(refs/users/meissner/heads/work076)] Fix -Werror=format-diag error with --disable-plugin.
Michael Meissner
meissner@gcc.gnu.org
Thu Jan 20 20:43:50 GMT 2022
https://gcc.gnu.org/g:07424962f29fea7010aa29aa28d00b4cd4fbc157
commit 07424962f29fea7010aa29aa28d00b4cd4fbc157
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Thu Jan 20 15:43:27 2022 -0500
Fix -Werror=format-diag error with --disable-plugin.
gcc/
2022-01-20 Michael Meissner <meissner@the-meissners.org>
* opts-global.cc (handle_common_deferred_options): Add %< and %>
quoting.
Diff:
---
gcc/opts-global.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/opts-global.cc b/gcc/opts-global.cc
index 0a17896cbb1..05d75530c85 100644
--- a/gcc/opts-global.cc
+++ b/gcc/opts-global.cc
@@ -417,7 +417,7 @@ handle_common_deferred_options (void)
#ifdef ENABLE_PLUGIN
add_new_plugin (opt->arg);
#else
- error ("plugin support is disabled; configure with --enable-plugin");
+ error ("plugin support is disabled; configure with %<--enable-plugin%>");
#endif
break;
@@ -425,7 +425,7 @@ handle_common_deferred_options (void)
#ifdef ENABLE_PLUGIN
parse_plugin_arg_opt (opt->arg);
#else
- error ("plugin support is disabled; configure with --enable-plugin");
+ error ("plugin support is disabled; configure with %<--enable-plugin%>");
#endif
break;
More information about the Gcc-cvs
mailing list