diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index eca6b523c5f..af077e795cf 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -3990,11 +3990,11 @@ maybe_warn_parm_abi (tree t, location_t loc) bool w; auto_diagnostic_group d; if (flag_abi_version > 12) - w = warning_at (loc, OPT_Wabi, "-fabi-version=13 (GCC 8.2) fixes the " - "calling convention for %qT, which was accidentally " - "changed in 8.1", t); + w = warning_at (loc, OPT_Wabi, "%<-fabi-version=13%> (GCC 8.2) fixes " + "the calling convention for %qT, which was " + "accidentally changed in 8.1", t); else - w = warning_at (loc, OPT_Wabi, "-fabi-version=12 (GCC 8.1) accident" + w = warning_at (loc, OPT_Wabi, "%<-fabi-version=12%> (GCC 8.1) accident" "ally changes the calling convention for %qT", t); if (w) inform (location_of (t), " declared here"); @@ -4003,7 +4003,7 @@ maybe_warn_parm_abi (tree t, location_t loc) auto_diagnostic_group d; if (warning_at (loc, OPT_Wabi, "the calling convention for %qT changes in " - "-fabi-version=13 (GCC 8.2)", t)) + "%<-fabi-version=13%> (GCC 8.2)", t)) inform (location_of (t), " because all of its copy and move " "constructors are deleted"); } |