public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/100596] [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf
Date: Fri, 14 May 2021 14:13:42 +0000	[thread overview]
Message-ID: <bug-100596-4-R1GprNWnbf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-100596-4@http.gcc.gnu.org/bugzilla/>

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]       |                                     ^~~~~~~~~~~

  parent reply	other threads:[~2021-05-14 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14  7:47 [Bug c++/100596] New: " marxin at gcc dot gnu.org
2021-05-14  7:48 ` [Bug c++/100596] " marxin at gcc dot gnu.org
2021-05-14 12:45 ` mpolacek at gcc dot gnu.org
2021-05-14 14:13 ` marxin at gcc dot gnu.org [this message]
2021-05-14 14:33 ` jason at gcc dot gnu.org
2021-05-14 17:04 ` mpolacek at gcc dot gnu.org
2021-05-19 17:10 ` cvs-commit at gcc dot gnu.org
2021-05-19 17:13 ` mpolacek at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-100596-4-R1GprNWnbf@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).