https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- I noticed that in a couple of packages that I have in my testing playground: https://build.opensuse.org/project/monitor/home:marxin:home:marxin:gcc-periodic-testing-v2 [ 1268s] /home/abuild/rpmbuild/BUILD/libreoffice-7.1.3.2/workdir/UnpackedTarball/skia/include/core/SkMatrix.h:1579:24: error: attribute appertains to a friend declaration that is not a definition [ 1268s] 1579 | friend SK_API bool operator==(const SkMatrix& a, const SkMatrix& b); [ 1268s] | ^~~~~~~~ [ 98s] /usr/include/boost/thread/detail/thread.hpp:641:37: error: attribute appertains to a friend declaration that is not a definition [ 98s] 641 | friend id BOOST_THREAD_DECL this_thread::get_id() BOOST_NOEXCEPT; [ 98s] | ^~~~~~~~~~~ [ 279s] /usr/include/qt5/QtCore/qbytearray.h:486:37: error: attribute appertains to a friend declaration that is not a definition [ 279s] 486 | friend Q_CORE_EXPORT QByteArray qUncompress(const uchar *data, int nbytes); [ 279s] | ^~~~~~~~~~~