
Eric Niebler wrote:
I don't know. Maybe Thomas can have a look. I tried to understand the code for Phoenix lambda and broke my brain. :-P This test also fails on msvc when BOOST_RESULT_OF_USE_DECLTYPE is defined.
I did additional tests: on clang 2.8-3.0 in a C++11 mode with BOOST_RESULT_OF_USE_DECLTYPE, lambda_tests.test also failed.
It could be related to support for N3276, but it's hard to say.
I made a ticket for this. #7481 (lambda_tests.test fails to compile with BOOST_RESULT_OF_USE_DECLTYPE) https://svn.boost.org/trac/boost/ticket/7481
During the tests, I found that runtime errors (BOOST_TEST failures) happen in some tests (e.g. scope/let_tests.cpp) when compiling them with optimization flag (-O2 or -O3) on both gcc (except gcc 4.5) and clang. The runtime failures happen both in C++03 and C++11 modes. I don't know if this is related to Boost.Proto, but I report this here just in case.
You should file this as a Phoenix bug.
Done. #7480 (Runtime failures in let_tests.test) https://svn.boost.org/trac/boost/ticket/7480 Regards, Michel