@@ -224,6 +224,11 @@ namespace __facet_shims
void
__messages_close(other_abi, const facet*, messages_base::catalog);
+#pragma GCC diagnostic push
+// Suppress -Wabi=2 warnings due to empty struct argument passing changes.
+// TODO This should use -Wabi=12 but that currently fails (PR c++/87611).
+#pragma GCC diagnostic ignored "-Wabi"
+
namespace // unnamed
{
struct __shim_accessor : facet
@@ -767,6 +772,8 @@ namespace __facet_shims
return m->put(s, intl, io, fill, units);
}
+#pragma GCC diagnostic pop
+
template ostreambuf_iterator<char>
__money_put(current_abi, const facet*, ostreambuf_iterator<char>,
bool, ios_base&, char, long double, const __any_string*);