This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38175] Explicit instantiation of a template hides symbols with the default visibility attribute
- 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: 24 Nov 2008 21:03:19 -0000
- Subject: [Bug c++/38175] Explicit instantiation of a template hides symbols with the default visibility attribute
- References: <bug-38175-16963@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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