[Bug c++/93625] New: inline specifier in a friend function declaration

2020-02-07 Thread the1987.6 at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: the1987.6 at gmail dot com Target Milestone: --- In the latest working draft N4849, 9.2.7 The inline specifier "If the inline specifier is used in a friend function declaration, that declaration shall be a defin

[Bug c++/72708] error on anonymous union in an unnamed namespace

2020-02-05 Thread the1987.6 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72708 --- Comment #4 from 高橋将 --- cppreference.com also says: "Namespace-scope anonymous unions must be declared static unless they appear in an unnamed namespace." on Union declaration. It would be best if this bug was fixed.