[Bug c++/92914] Hidden visibility incompatible with extern'd specialized explicit template instantiations
steveire at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 11 14:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92914
--- Comment #2 from Stephen <steveire at gmail dot com> ---
Also:
stephen@j5:~/dev/src/playground/cpp/build$ nm mylib.g++.o | c++filt
0000000000000000 W Templ<float>::getAnotherNum() const
0000000000000000 W Templ<float>::getNum() const
0000000000000000 W Templ<int>::getAnotherNum() const
0000000000000000 T Templ<int>::getNum() const
stephen@j5:~/dev/src/playground/cpp/build$ nm mylib.clang++.o | c++filt
0000000000000000 r .LCPI2_0
0000000000000004 r .LCPI3_0
0000000000000000 W Templ<float>::getAnotherNum() const
0000000000000000 W Templ<float>::getNum() const
0000000000000000 W Templ<int>::getAnotherNum() const
0000000000000000 T Templ<int>::getNum() const
More information about the Gcc-bugs
mailing list