This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13905] Use of __attribute__ ((visibility("X"))) in class and struct declarations
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2004 23:12:43 -0000
- Subject: [Bug c++/13905] Use of __attribute__ ((visibility("X"))) in class and struct declarations
- References: <20040128224951.13905.s_gccbugzilla@nedprod.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-28 23:12 -------
We are no going to do it. The point is that it makes things look werid like:
class __attribute__((visibility("public"))) T {
private:
int i; //is this public or private?
};
The point I was trying to make is that if you want the default accessor to be public use struct
instead of class.
Also I forgot to mention we should not always follow M$ and their crappy compilers.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13905