[Bug c++/9283] __attribute__((visibility ("hidden"))) not supported for class/struct
mueller at kde dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 1 15:52:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list