This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] _GLIBCPP_EXTERN_TEMPLATE


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]