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 15:35:11 +0000 (UTC)
- 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
John Brown <johnbrown105@...> writes:
>
>
>
> Why does gcc have to use such ugly typenames? Another exercise produces
> the following output:
Sigh ...
I keep forgetting that Hotmail, in its wisdom, is now
stripping out anything in angle brackets.
I instantiated vectors of different types
and printed their typeids. G++ output shows the mangled names,
bcc32 shows the "real" names.
> g++
vector<int>: St6vectorIiSaIiEE
vector<char>: St6vectorIcSaIcEE
vector<float>: St6vectorIfSaIfEE
vector<string>: St6vectorISsSaISsEE
vector<bool>: St6vectorIbSaIbEE
>
> bcc32
vector<int>: std::vector<int,std::allocator<int> >
vector<char>: std::vector<char,std::allocator<char> >
vector<float>: std::vector<float,std::allocator<float> >
vector<string>: std::vector<std::basic_string<char,std::char_traits<char>,std::a
llocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,st
d::allocator<char> > > >
vector<bool>: std::vector<std::allocator<bool> >
-------------------------------------------------------------------------
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