Ticket #11623: clang_compile_errors.err

File clang_compile_errors.err, 3.7 KB (added by Tony Lewis <tonyelewis@…>, 7 years ago)

clang++ compilation errors

Line 
1In file included from boost_test_double_trouble_under_clang.cpp:3:
2In file included from /tmp/test/include/boost/test/included/unit_test.hpp:34:
3In file included from /tmp/test/include/boost/test/unit_test.hpp:18:
4In file included from /tmp/test/include/boost/test/test_tools.hpp:38:
5In file included from /tmp/test/include/boost/test/tools/old/impl.hpp:21:
6/tmp/test/include/boost/test/tools/floating_point_comparison.hpp:259:25: error: 'mutable' cannot be applied to references
7 mutable FPT m_tested_rel_diff;
8 ^
9/tmp/test/include/boost/test/tools/fpc_op.hpp:71:34: note: in instantiation of template class 'boost::math::fpc::close_at_tolerance<const double &&>' requested here
10 fpc::close_at_tolerance<FPT> P( fpc_tolerance<FPT>(), fpc::FPC_STRONG );
11 ^
12/tmp/test/include/boost/test/tools/fpc_op.hpp:211:30: note: in instantiation of function template specialization 'boost::test_tools::assertion::op::compare_fpv<const double &&, double, double, boost::test_tools::assertion::op::EQ<const double, double, void> >' requested here
13BOOST_TEST_FOR_EACH_COMP_OP( DEFINE_FPV_COMPARISON )
14 ^
15/tmp/test/include/boost/test/tools/assertion.hpp:71:5: note: expanded from macro 'BOOST_TEST_FOR_EACH_COMP_OP'
16 action( ==, EQ, != ) \
17 ^
18/tmp/test/include/boost/test/tools/fpc_op.hpp:192:16: note: expanded from macro 'DEFINE_FPV_COMPARISON'
19 return compare_fpv<FPT>(lhs, rhs, (OP*)0); \
20 ^
21/tmp/test/include/boost/test/tools/assertion.hpp:348:20: note: in instantiation of member function 'boost::test_tools::assertion::op::EQ<const double, double, void>::eval' requested here
22 return OP::eval( m_lhs.value(), m_rhs );
23 ^
24/tmp/test/include/boost/test/tools/assertion.hpp:357:42: note: in instantiation of member function 'boost::test_tools::assertion::binary_expr<boost::test_tools::assertion::value_expr<const double &>, double, boost::test_tools::assertion::op::EQ<const double, double, void> >::value' requested here
25 assertion_result const expr_res( value() );
26 ^
27boost_test_double_trouble_under_clang.cpp:7:2: note: in instantiation of member function 'boost::test_tools::assertion::binary_expr<boost::test_tools::assertion::value_expr<const double &>, double, boost::test_tools::assertion::op::EQ<const double, double, void> >::evaluate' requested here
28 BOOST_TEST( num == 0.0 );
29 ^
30/tmp/test/include/boost/test/tools/interface.hpp:166:8: note: expanded from macro 'BOOST_TEST'
31 2, BOOST_TEST_TOOL_UNIV, BOOST_TEST_TOOL_UNIV_EX, CHECK, __VA_ARGS__ ) \
32 ^
33/tmp/test/include/boost/test/detail/pp_variadic.hpp:38:13: note: expanded from macro 'BOOST_TEST_INVOKE_IF_N_ARGS'
34 F1, \
35 ^
36/opt/include/boost/preprocessor/control/iif.hpp:18:57: note: expanded from macro 'BOOST_PP_IIF'
37# define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f)
38 ^
39note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
40/tmp/test/include/boost/test/detail/pp_variadic.hpp:27:51: note: expanded from macro 'BOOST_TEST_INVOKE_VARIADIC'
41# define BOOST_TEST_INVOKE_VARIADIC( tool, ... ) tool (__VA_ARGS__)
42 ^
43/tmp/test/include/boost/test/tools/interface.hpp:144:5: note: expanded from macro 'BOOST_TEST_TOOL_UNIV'
44 BOOST_TEST_TOOL_ET_IMPL( P, level ) \
45 ^
46/tmp/test/include/boost/test/tools/interface.hpp:81:9: note: expanded from macro 'BOOST_TEST_TOOL_ET_IMPL'
47 E.evaluate(), \
48 ^
491 error generated.