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++/9283] __attribute__((visibility ("hidden"))) not supported for class/struct


------- Additional Comments From mueller at kde dot org  2004-02-01 15:52 -------
Niall, it seems you didn't understand the purpose of the bugreport. The major 
problem right now is that you cannot change the visibility for all members 
of a class with one statement from default.  
 
Wether that is "default == hidden" and  "overwrite == visible" or  
"default == visible" and "overwrite == hidden" doesn't matter, since both 
variants need the very same level of support in the compiler, which  
currently does not exist.  
 
Of course our long term plan is it to be able to default to 
visibility==hidden, but right now thats not possible because of a missing 
feature which this wishlist item requests.  
 
I don't actually want to argue with you which default visibility is right 
or wrong. If you want to have that changed, then please open a separate 
bugreport, because it is not the topic of this one :) 
 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9283


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