From: Eric Niebler (eric_at_[hidden])
Date: 2006-12-15 16:32:21
Neal Becker wrote:
> I noticed that code I have using foreach which used to work is now giving
> segfault. I haven't traced it (and don't have time now), but I am sure
> that changing the code from BOOST_FOREACH back to a manual for loop fixes
> This is on gcc4.1.1, (linux).
> This code had been working with boost cvs versions as of a few weeks ago.
> The other diff is that boost is now built with v2, but I don't see how that
> would cause such a problem.
Nothing has changed in the foreach code in eons. It would help if you
could send a small repro.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk