Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-10-22 07:14:45

Mark Loew wrote:
> I am using bind heavily in my application. I noticed a problem that
> may/may not be a boost issue but wanted to check if anyone had any
> quick insights.
> I am using 2 and 3 paramater functions with bind over a range with the
> for_each operator. What I have noticed is everything is fine when the
> system is build in debug mode. I then rebuild in release modes with
> all optimizations turned on. The boost code crashes with access
> violations. I disabled the optimization of Whole Program Optimization
> and everything is fine. I believe I have noticed this with other
> template functions where the whole program optimization causes
> problems. Has anyone seen this before and do you know what causes it?
> Just checking if this is a known boost problem or a VC 7.1 issues.

No, this isn't a known issue. I haven't encountered this problem myself. If
you can reproduce the problem with a small example we can look into it but
this may be impossible if the problem only surfaces with /GL. Perhaps you
should submit a VC bug report.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at