public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100596] New: [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf
@ 2021-05-14  7:47 marxin at gcc dot gnu.org
  2021-05-14  7:48 ` [Bug c++/100596] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-14  7:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100596

            Bug ID: 100596
           Summary: [12 Regression] error: attribute appertains to a
                    friend declaration that is not a definition since
                    r12-786-g149061188c7c6ddf
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jason at gcc dot gnu.org, mpolacek at gcc dot gnu.org
  Target Milestone: ---

Affects multiple packages:

$ cat json.ii
struct final {
  friend __attribute__((visibility)) bool;
};

$ g++ json.ii -c
json.ii:2:3: error: attribute appertains to a friend declaration that is not a
definition
    2 |   friend __attribute__((visibility)) bool;
      |   ^~~~~~

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-19 17:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14  7:47 [Bug c++/100596] New: [12 Regression] error: attribute appertains to a friend declaration that is not a definition since r12-786-g149061188c7c6ddf 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
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

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).