Re: [Mingw-users] [BUG] - member is template<T>: ice in 4.2.1-sjlj (mingw32-2), bad compilation in 3
- Date: Thu, 20 Dec 2007 11:04:28 -0500
- From: John Brown <johnbrown105@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] [BUG] - member is template<T>: ice in 4.2.1-sjlj (mingw32-2), bad compilation in 3
David Daeschler wrote:
>
> Hi John,
>
> On Thu, 2007-12-20 at 10:21 -0500, John Brown wrote:
>> Why does gcc have to use such ugly typenames? Another exercise
>> produces
>> the following output:
>
> You can use c++filt (part of binutils) to demangle the names, but
> there's a catch. The output of the typeid(x).name() string does not
> match the format that c++filt expects (not sure why, but more info here
> http://gcc.gnu.org/ml/gcc-patches/2002-01/msg02107.html )
>
> You can prefix the mangled type name with a _Z to get the proper
> demangled type name.
>
> ex:
>
> for
>> St6vectorISsSaISsEE
>
> c++filt _ZSt6vectorISsSaISsEE yields
>
> std::vector<std::basic_string,
> std::allocator>, std::allocator<std::basic_string std::char_traits, std::allocator>>>
>
> Notice the _Z prefix.
>
> Hope this helps,
> - Dave
OK. Thanks.
_________________________________________________________________
i’m is proud to present Cause Effect, a series about real people making a difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users