This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/15000] Support setting the default symbol visibility for ELF
- From: "bryner at brianryner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2004 02:36:18 -0000
- Subject: [Bug other/15000] Support setting the default symbol visibility for ELF
- References: <20040418032536.15000.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bryner at brianryner dot com 2004-05-03 02:36 -------
(In reply to comment #20)
> Brian, nested classes aren't inheriting visibility off their enclosing class
> with the new patch. I tried fixing this and failed because AFAICS in pushclass()
> the enclosing class hasn't processed attribute flags yet and so everything is
> always default visibility.
>
I'd be surprised if that happens with the old patch, either... certainly it's
not something I've tested. (The old patch always initializes a new class on the
class stack with VISIBILITY_DEFAULT, so I don't see how the visibility would
come from anywhere other than the inner class's attributes).
I'm not really sure how to make it work, either... I'd need to think about it
some more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15000