This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69125] [6 regression] Please don't print "âvisibilityâ attribute ignored" when setting hidden visibility for anonymous namespace classes


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

--- Comment #5 from Thiago Macieira <thiago at kde dot org> ---
(In reply to Marek Polacek from comment #4)
> It feels like this warning is in place (visibility on something non-public),
> on the other hand it should be possible to disable it via pragma.  I think
> let's close this PR and resolve the pragma issue in the other PR.

I agree with that, but please note that the anonymous namespace symbol did have
linkage in previous versions of GCC. It was even required in C++98.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]