This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69125] [6 regression] Please don't print "âvisibilityâ attribute ignored" when setting hidden visibility for anonymous namespace classes
- From: "thiago at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Jan 2016 16:29:43 +0000
- Subject: [Bug c++/69125] [6 regression] Please don't print "âvisibilityâ attribute ignored" when setting hidden visibility for anonymous namespace classes
- Auto-submitted: auto-generated
- References: <bug-69125-4 at http dot gcc dot gnu dot org/bugzilla/>
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.