This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: using templates in shared library
- To: jbuck at Synopsys dot COM
- Subject: Re: using templates in shared library
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 12 Dec 1998 00:01:01 +0100
- CC: K dot Peeters at damtp dot cam dot ac dot uk, egcs at egcs dot cygnus dot com
- References: <199812102244.OAA07269@atrus.synopsys.com>
> Ideally, we should also be able to do the same with shared libraries.
This was my first impression, as well. But then, the implicit
instantiation in the shared library might go away, which would mean
that we have to recompile all applications relying on it. This is not
what we want: The user didn't *request* that the instantiation is in
the shared library, she shouldn't get into trouble if it suddenly
isn't anymore (because of, say, removing an unused variable in a
function).
Regards,
Martin