unsigned uid = TYPE_UID (TYPE_MAIN_VARIANT (orig_type));
if (uid != last_reported_type_uid)
{
+ char *url = get_changes_url ("gcc-10/changes.html#empty_base");
last_reported_type_uid = uid;
if (empty_base_seen & 1)
inform (input_location,
"parameter passing for argument of type %qT when C++17 "
- "is enabled changed to match C++14 in GCC 10.1",
- orig_type);
+ "is enabled changed to match C++14 %{in GCC 10.1%}",
+ orig_type, url);
else
inform (input_location,
"parameter passing for argument of type %qT with "
- "%<[[no_unique_address]]%> members changed in GCC 10.1",
- orig_type);
+ "%<[[no_unique_address]]%> members changed "
+ "%{in GCC 10.1%}", orig_type, url);
+ free (url);
}
}
return true;
unsigned uid = TYPE_UID (TYPE_MAIN_VARIANT (orig_type));
if (uid != last_reported_type_uid)
{
+ char *url = get_changes_url ("gcc-10/changes.html#empty_base");
last_reported_type_uid = uid;
if (empty_base_seen & 1)
inform (input_location,
"parameter passing for argument of type %qT when C++17 "
- "is enabled changed to match C++14 in GCC 10.1",
- orig_type);
+ "is enabled changed to match C++14 %{in GCC 10.1%}",
+ orig_type, url);
else
inform (input_location,
"parameter passing for argument of type %qT with "
- "%<[[no_unique_address]]%> members changed in GCC 10.1",
- orig_type);
+ "%<[[no_unique_address]]%> members changed "
+ "%{in GCC 10.1%}", orig_type, url);
+ free (url);
}
}