if (aligned_new_threshold > 1
&& !pow2p_hwi (aligned_new_threshold))
{
- error ("-faligned-new=%d is not a power of two", aligned_new_threshold);
+ error ("%<-faligned-new=%d%> is not a power of two",
+ aligned_new_threshold);
aligned_new_threshold = 1;
}
if (aligned_new_threshold == -1)
}
else if (cxx_dialect < cxx17)
pedwarn (loc, 0, "inline variables are only available "
- "with -std=c++17 or -std=gnu++17");
+ "with %<-std=c++17%> or %<-std=gnu++17%>");
if (inlinep)
{
retrofit_lang_decl (decl);
gcc_rich_location richloc (declspecs->locations[ds_virtual]);
richloc.add_range (declspecs->locations[ds_constexpr]);
pedwarn (&richloc, OPT_Wpedantic, "member %qD can be declared both "
- "%<virtual%> and %<constexpr%> only in -std=c++2a or "
- "-std=gnu++2a", dname);
+ "%<virtual%> and %<constexpr%> only in %<-std=c++2a%> or "
+ "%<-std=gnu++2a%>", dname);
}
}
friendp = decl_spec_seq_has_spec_p (declspecs, ds_friend);
"trailing return type", name);
inform (typespec_loc,
"deduced return type only available "
- "with -std=c++14 or -std=gnu++14");
+ "with %<-std=c++14%> or %<-std=gnu++14%>");
}
else if (virtualp)
{
always be an error. */
error_at (typespec_loc,
"trailing return type only available "
- "with -std=c++11 or -std=gnu++11");
+ "with %<-std=c++11%> or %<-std=gnu++11%>");
else
error_at (typespec_loc, "%qs function with trailing "
"return type not declared with %<auto%> "