This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] _GLIBCPP_EXTERN_TEMPLATE
- From: Jonathan Lennox <lennox at cs dot columbia dot edu>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Feb 2003 17:13:25 -0500
- Subject: Re: [v3] _GLIBCPP_EXTERN_TEMPLATE
- References: <200302132128.h1DLSQ909716@fillmore.constant.com>
Benjamin Kosnik writes:
> This adds a new macro, _GLIBCPP_EXTERN_TEMPLATE, and guards the use of
> "extern template" in the libstdc++ includes.
Will this mean that it'll be possible to compile with
-g -D_GLIBCPP_EXTERN_TEMPLATE=0 to get debugging information for templated
STL classes? Or does this violate the ODR somehow?
--
Jonathan Lennox
lennox at cs dot columbia dot edu