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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Thanks. PR 47877 is definitely related but not an exact duplicate. Here we have
the visibility attribute on the enclosing namespace, and even though the
documentation does not spell out what should happen, it appears the intent is
that the option should prevail (so inline functions in the namespace would need
to be decorated with the visibility attribute individually to make them
non-hidden).

I'll close this as duplicate and add an example with a namespace to the older
PR.

*** This bug has been marked as a duplicate of bug 47877 ***

Reply via email to