Boost logo

Boost :

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
> it.
> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at