
I became a bit curious as to why two Lambda tests fail in the only release configuration for CW8.3, but don't fail in the debug tests. As seen in: http://www.meta-comm.com/engineering/boost-regression/developer/lambda.html And the really strange part is the lack of information from Boost.Test about it. It only outputs: Run output [2004-10-11 02:46:48 UTC]: **** no errors detected EXIT STATUS: 1 Which seems like a rather contradictory statement from the test system I don't really know what is going on here. But I've narrowed it down to some strange interaction when the "--" and "++" pre-ops are used. If I make the following changes the tests pass... Index: bind_tests_advanced.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/lambda/test/bind_tests_advanced.cpp,v retrieving revision 1.8 diff -u -r1.8 bind_tests_advanced.cpp --- bind_tests_advanced.cpp 27 Jul 2004 03:43:33 -0000 1.8 +++ bind_tests_advanced.cpp 12 Oct 2004 03:02:38 -0000 @@ -110,7 +110,7 @@ int i = 1; BOOST_TEST(unlambda(_1 + _2)(i, i) == 2); - BOOST_TEST(unlambda(++var(i))() == 2); + { bool t = unlambda(++var(i))() == 2; BOOST_TEST(t); } BOOST_TEST(call_with_100(_1 + 1) == 101); Index: operator_tests_simple.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/lambda/test/operator_tests_simple.cpp,v retrieving revision 1.8 diff -u -r1.8 operator_tests_simple.cpp --- operator_tests_simple.cpp 27 Jul 2004 03:43:33 -0000 1.8 +++ operator_tests_simple.cpp 12 Oct 2004 03:02:38 -0000 @@ -175,11 +175,11 @@ BOOST_TEST(i == -1); i = 0; - BOOST_TEST((++_1)(i) == 1); + { bool t = (++_1)(i) == 1; BOOST_TEST(t); } BOOST_TEST(i == 1); i = 0; - BOOST_TEST((--_1)(i) == -1); + { bool t = (--_1)(i) == -1; BOOST_TEST(t); } BOOST_TEST(i == -1); i = 0; =================================================================== Any ideas, clues, etc. ?? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq