
Using icl v11.0.066: #define BOOST_FOREACH_COMPILE_TIME_CONST_RVALUE_DETECTION passed 23 tests, #define BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION passed 14 test, #define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION passed 23 tests, and #define BOOST_FOREACH_NO_RVALUE_DETECTION passed 21 test. Sorry for the inverted logic. Cheers, Mikko Eric Niebler wrote:
Boost.Foreach is failing its tests on trunk on the intel-vc9-win-11.0 platform. If there is anyone with access to this platform who would like to run a couple of quick tests, you will be generously rewarded in your next life. Can't beat that.
All you have to do is run foreach's tests 4 times with a slightly different config each time. In foreach.hpp, comment out all the config preprocessor gunk (everything between #include <boost/detail/workaround.hpp> and #include <boost/mpl/if.hpp>) and replace it with one of the following:
#define BOOST_FOREACH_COMPILE_TIME_CONST_RVALUE_DETECTION or #define BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION or #define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION or #define BOOST_FOREACH_NO_RVALUE_DETECTION
Report the number of test failures each time. Your karmic reward awaits. Thanks in advance,