Ticket #11625: clang_compiler_errors.err

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

clang

Line 
1In file included from comp_colls.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:45:
5/tmp/test/include/boost/test/tools/assertion.hpp:162:1: error: invalid operands to binary expression ('const my_class' and 'const std::__1::vector<int, std::__1::allocator<int> >')
6BOOST_TEST_FOR_EACH_CONST_OP( DEFINE_CONST_OPER )
7^
8/tmp/test/include/boost/test/tools/assertion.hpp:92:5: note: expanded from macro 'BOOST_TEST_FOR_EACH_CONST_OP'
9 BOOST_TEST_FOR_EACH_COMP_OP(action) \
10 ^
11/tmp/test/include/boost/test/tools/assertion.hpp:71:13: note: expanded from macro 'BOOST_TEST_FOR_EACH_COMP_OP'
12 action( ==, EQ, != ) \
13 ^
14/tmp/test/include/boost/test/tools/assertion.hpp:138:33: note: expanded from macro 'DEFINE_CONST_OPER'
15 typedef DEDUCE_RESULT_TYPE( oper ) result_type; \
16 ^
17/tmp/test/include/boost/test/tools/assertion.hpp:127:36: note: expanded from macro 'DEDUCE_RESULT_TYPE'
18 decltype(boost::declval<Lhs>() oper boost::declval<Rhs>() ) optype; \
19 ^
20/tmp/test/include/boost/test/tools/assertion.hpp:323:79: note: in instantiation of template class 'boost::test_tools::assertion::op::EQ<const my_class, const std::__1::vector<int, std::__1::allocator<int> >, void>' requested here
21class binary_expr : public expression_base<binary_expr<LExpr,Rhs,OP>,typename OP::result_type> {
22 ^
23comp_colls.cpp:24:16: note: in instantiation of template class 'boost::test_tools::assertion::binary_expr<boost::test_tools::assertion::value_expr<const my_class &>, const std::__1::vector<int, std::__1::allocator<int> > &, boost::test_tools::assertion::op::EQ<const my_class, const std::__1::vector<int, std::__1::allocator<int> >, void> >' requested here
24 BOOST_TEST( a == b, ::boost::test_tools::per_element() );
25 ^
26/tmp/test/include/boost/test/tools/interface.hpp:166:62: note: expanded from macro 'BOOST_TEST'
27 2, BOOST_TEST_TOOL_UNIV, BOOST_TEST_TOOL_UNIV_EX, CHECK, __VA_ARGS__ ) \
28 ^
29/tmp/test/include/boost/test/detail/pp_variadic.hpp:40:9: note: expanded from macro 'BOOST_TEST_INVOKE_IF_N_ARGS'
30 __VA_ARGS__ ) \
31 ^
32/tmp/test/include/boost/test/detail/pp_variadic.hpp:27:57: note: expanded from macro 'BOOST_TEST_INVOKE_VARIADIC'
33# define BOOST_TEST_INVOKE_VARIADIC( tool, ... ) tool (__VA_ARGS__)
34 ^
35/tmp/test/include/boost/test/tools/interface.hpp:148:33: note: expanded from macro 'BOOST_TEST_TOOL_UNIV_EX'
36 BOOST_TEST_TOOL_ET_IMPL_EX( P, level, __VA_ARGS__ ) \
37 ^
38/tmp/test/include/boost/test/tools/interface.hpp:97:33: note: expanded from macro 'BOOST_TEST_TOOL_ET_IMPL_EX'
39 BOOST_TEST_BUILD_ASSERTION( P ); \
40 ^
41/tmp/test/include/boost/test/tools/interface.hpp:51:62: note: expanded from macro 'BOOST_TEST_BUILD_ASSERTION'
42 auto const& E = ::boost::test_tools::assertion::seed()->*P \
43 ^
441 error generated.