This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9283] __attribute__((visibility ("hidden"))) not supported for class/struct
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2004 15:52:41 -0000
- Subject: [Bug c++/9283] __attribute__((visibility ("hidden"))) not supported for class/struct
- References: <20030112104600.9283.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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