On Mon, Nov 26, 2007 at 10:40:35AM -0800, Joe Buck wrote:
> On Mon, Nov 26, 2007 at 01:33:54PM -0500, Stephane Hockenhull wrote:
> > 
> > hi, it seem stl templates are not mangled as other classes and templates
> > 
> > I was wondering why and where in the g++ source code is that special case 
> > implemented?
> > 
> > it seem to cause a problem with -fleading-underscore
> 
> AFAIK there is no special case, however there might be a bug lurking
> somewhere.  Do you have a specific case where -fleading-underscore messes
> up?

There are a few special cases, e.g. for std::string and
std::basic_string; the C++ ABI documents have the details.

_ZSi -> std::basic_istream<char, std::char_traits<char> >


-- 
Daniel Jacobowitz
CodeSourcery

Reply via email to