C++ performance myths debunked

TuxTrax bogusdrop at myself.com
Sun Aug 4 03:17:45 CEST 2002


gerson.kurz at t-online.de (Gerson Kurz) wrote in message news:<3d4acdcc.18746140 at news.t-online.de>...
> Download the libraries from over at www.boost.org. Compile a sample
> program (with VC6), get 31 warnings like this (I'm not making this up,
> and yes, it is *one* single warning):
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\utility(31) :
> warning C4786:
> 'boost::detail::find_param_continue::select<boost::detail::cons_type<boost::detail::cons_type<boost::detail::value_type_tag,std::basic_string<char,std::char_traits<ch
> ar>,std::allocator<char> >
> >,boost::detail::cons_type<boost::detail::cons_type<boost::detail::reference_tag,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > const
>  &>,boost::detail::cons_type<boost::detail::cons_type<boost::detail
> ::pointer_tag,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *>,boost::detail::cons_type<boost::detail::cons_type<boost::detail::iterator_category_tag,std::forward_iterator_tag>,boost::detail::cons_type<boost::detail::con
>  s_type<boost::detail::difference_type_tag,int>,boost::detail::end_of_list>
> > > > >,boost::detail::iterator_category_tag>' : identifier was
> truncated to '255' characters in the debug information

There is a good usenet article on complilers here:

http://groups.google.com/groups?q=gcc+c%2B%2B+windows&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=91umfn%242tt%241%40bugstomper.ihug.com.au&rnum=1

Sorry about the long URL. 

I have to say, that I would go with a non-microsoft compiler. But that
is personal bias.

The free (and very good) g++ compiler is available for windows, I
understand. It is from the GNU project, and like python, came standard
with my Linux distribution. I don't want this to devolve into an OS
holy war, just wanted to comment that should you decide that you want
to try a different compiler you do have alternatives (and it won't
cost you anything).

cheers,

Mathew



More information about the Python-list mailing list