This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Missing explicit instantiations in libstdc++ (was Re: Unreviewed
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: bkoz at redhat dot com (Benjamin Kosnik)
- Cc: mark at codesourcery dot com, jason at redhat dot com, libstdc++ at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 12:38:34 -0500 (EST)
- Subject: Re: Missing explicit instantiations in libstdc++ (was Re: Unreviewed
> Now that I think about it, for other reasons besides weak linking semantics,
> these should just be compile tests, not compile-linkage-execute
> tests.
You don't fully explain your reasoning. However, this change seems a bit
pessimistic. If you want to test implicit instantiation, why not just do
it on systems with weak linking semantics and provide the explicit needed
when this isn't available? We already have _GLIBCPP_SUPPORTS_WEAK in
config.h, so this is trivial to implement.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)