Boost logo

Boost Users :

From: Igor R (boost.lists_at_[hidden])
Date: 2008-08-07 05:43:23


Note that sometimes VS2005 compiler crashes when you've got some
mismatch in placeholder count, but if it compiles well in debug-mode,
then...it's really wierd.

By the way, it seems that in VS2005 the compiler heap is at maximum by default.

2008/8/7, Ovanes Markarian <om_boost_at_[hidden]>:
> Oliver,
> please try increasing internal compiler heap. Please read about /Zm option
> in MSDN.
>
> Regards,
> Ovanes
>
>
>
> On Thu, Aug 7, 2008 at 10:59 AM, Oliver Kania <kania.oliver_at_[hidden]>
> wrote:
> >
> >
> > Hello,
> > the following code makes the VC++ compiler (VS 2005) crash,
> > but only when I am trying a release build ! The debug builds work fine.
> >
> >
> std::sort(l_vec.begin(),l_vec.end(),boost::bind(std::less<int>(),boost::bind(&CLayer::GetPrio,_1),boost::bind(&CLayer::GetPrio,_2)));
>
> >
> > Where CLayer::GetPrio returns an integer.
> >


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net