id summary reporter owner description type status milestone component version severity resolution keywords cc 11623 Clang rejects some simple BOOST_TEST() statements Tony Lewis Raffi Enficiaud "Thanks again for the new BOOST_TEST() tool, which looks very useful. Unfortunately, I'm unable to compile the following under `clang++` (with or without `-std=c++11`) : {{{#!cpp #define BOOST_TEST_MODULE comp_doub_mod #include BOOST_AUTO_TEST_CASE( comp_doubs ) { const double num { 1.0 }; BOOST_TEST( num == 1.0 ); // BOOST_TEST( 1.0 == num ); } }}} This also fails if I swap to the commented-out BOOST_TEST() line. The core of the error message is: {{{ [...]/boost/test/tools/floating_point_comparison.hpp:259:25: error: 'mutable' cannot be applied to references mutable FPT m_tested_rel_diff; ^ }}} I'll attach the full compiler error output." Bugs closed Boost 1.60.0 test Boost 1.59.0 Problem fixed BOOST_TEST,double,float,clang,mutable