This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81855] [mingw-w64] dllexport-ed explicit template instantiation has no symbol in DLL when the compile unit has non-template symbol
- From: "lanxingcan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Aug 2017 04:39:55 +0000
- Subject: [Bug c++/81855] [mingw-w64] dllexport-ed explicit template instantiation has no symbol in DLL when the compile unit has non-template symbol
- Auto-submitted: auto-generated
- References: <bug-81855-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81855
--- Comment #1 from Xingcan Lan <lanxingcan at gmail dot com> ---
Update:
Even if I seperate the them into two compile unit. and link them into one DLL
together, symbols for `Template<void>` is also missing.
So maybe it's a bug of binutils?