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 other/15000] Support setting the default symbol visibility for ELF


------- 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


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