[Bug c++/38175] Explicit instantiation of a template hides symbols with the default visibility attribute
j dot s dot wijnhout at lumc dot nl
gcc-bugzilla@gcc.gnu.org
Tue Nov 25 11:01:00 GMT 2008
------- Comment #3 from j dot s dot wijnhout at lumc dot nl 2008-11-25 11:00 -------
The problem is of course during linking, which fails. But why should I expect
the following?:
* Using TemplatedClass works just fine stand-alone.
* Adding DependentTemplatedClass to the equation hides TemplatedClass
effectively, causing a linker error.
Why is this expected behavior? It sounds unreasonable to me or am I missing
something?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38175
More information about the Gcc-bugs
mailing list