
15 Dec
2006
15 Dec
'06
9:32 p.m.
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 www.boost-consulting.com