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++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-02-15 01:22:43 UTC ---
The problem here is that there is currently no way to add attributes to a class
template instantiation; on the explicit instantiation in your testcase the
attributes are just ignored.

Wouldn't it be easier to just give test default visibility?


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