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++/38175] Explicit instantiation of a template hides symbols with the default visibility attribute



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-11-24 21:03 -------
I think this is expected behavior because you said only that one instantiation
is not hidden and but not in all translational units.  You should most likely
use extern template to get the behavior you want.


-- 


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


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