|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2005-03-09 22:45:35
Thanks, Martin! New version posted to the file vault:
http://tinyurl.com/5qhj8
http://boost-sandbox.sourceforge.net/vault/index.php?directory=eric_niebler
Comments inline:
Martin Wille wrote:
>
> gcc 2.95.3:
>
> without #defines: foreach.hpp:27: Invalid token in expression
> with NO_CONST_RVALUE_DETECTION: same error
> with NO_RVALUE_DETECTION: same error
>
I installed gcc 2.95 and didn't get this error. But I got a host of
others, which are fixed. (Well, sort of. BOOST_FOREACH works in some
constructs but not in others.)
> icc 8.1:
>
> without #defines:
> ../../../boost/foreach.hpp(241): error: a new-initializer may not be
> specified for an array
> ::new(data.address()) T(t);
> ^
Yup, array handling was broken. Should be fixed now (but I don't have
icc to test).
> gcc 3.4.3, without #defines:
> ../../../boost/foreach.hpp:248: error: ISO C++ forbids initialization in
> array new
Same problem as above, I think. I have verified the fix with gcc 3.4.
> gcc-4, without #defines:
> ../../../boost/foreach.hpp:248: error: ISO C++ forbids initialization in
> array new
Probably fixed, but I don't have gcc-4 to test.
-- 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