GCC do not consider the inline namespace in friend function declarations.
This is PR c++/59526, we need to explicit this namespace.
libstdc++-v3/ChangeLog:
* include/std/format (std::__format::_Arg_store): Explicit version
namespace on make_format_args friend declaration.
template<typename _Ctx, typename... _Argz>
friend auto
- std::make_format_args(_Argz&&...) noexcept;
+#if _GLIBCXX_INLINE_VERSION
+ // Needed for PR c++/59526
+ std::__8::
+#else
+ std::
+#endif
+ make_format_args(_Argz&&...) noexcept;
// For a sufficiently small number of arguments we only store values.
// basic_format_args can get the types from the _Args pack.