Warnings: teeks99-dkr-mc18-23 - type_erasure / clang-linux-18~c++23
Rev 878bbc307ed71b798a53304130685410c1facd14 / Tue, 16 Jun 2026 14:15:17 +0000
fail_any_cast_discard_const1
../libs/type_erasure/test/fail_any_cast_discard_const1.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_discard_const2
../libs/type_erasure/test/fail_any_cast_discard_const2.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_discard_const3
../libs/type_erasure/test/fail_any_cast_discard_const3.cpp:22:9: warning: unused variable 'j' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_discard_const4
../libs/type_erasure/test/fail_any_cast_discard_const4.cpp:22:9: warning: unused variable 'j' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_discard_const5
../libs/type_erasure/test/fail_any_cast_discard_const5.cpp:22:9: warning: unused variable 'j' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_discard_const6
../libs/type_erasure/test/fail_any_cast_discard_const6.cpp:22:9: warning: unused variable 'j' [-Wunused-variable]
1 warning and 1 error generated.
                
fail_any_cast_pointer_to_ref
../libs/type_erasure/test/fail_any_cast_pointer_to_ref.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
1 warning and 2 errors generated.
                
fail_any_cast_pointer_to_val
../libs/type_erasure/test/fail_any_cast_pointer_to_val.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
1 warning and 2 errors generated.
                
fail_cref_assign
../libs/type_erasure/test/fail_cref_assign.cpp:21:7: warning: explicitly assigning value of variable of type 'any<typeid_<>, const _self &>' to itself [-Wself-assign-overloaded]
1 warning and 1 error generated.
                
fail_ref_assign
../libs/type_erasure/test/fail_ref_assign.cpp:21:7: warning: explicitly assigning value of variable of type 'any<typeid_<>, _self &>' to itself [-Wself-assign-overloaded]
1 warning and 1 error generated.
                
fail_rref_assign
../libs/type_erasure/test/fail_rref_assign.cpp:22:7: warning: explicitly assigning value of variable of type 'any<typeid_<>, _self &&>' to itself [-Wself-assign-overloaded]
../libs/type_erasure/test/fail_rref_assign.cpp:21:41: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
../libs/type_erasure/test/fail_rref_assign.cpp:20:10: note: initialize the variable 'i' to silence this warning
2 warnings and 1 error generated.
                
test_equal
../libs/type_erasure/test/test_equal.cpp:29:21: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>')) to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:30:20: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>') and 'any<test_concept>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:31:20: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:32:21: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>>>') and 'any<test_concept>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:104:21: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>')) to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:105:20: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:106:20: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:107:21: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:109:21: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>')) to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:110:20: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>') and 'any<test_concept>' (aka 'any<vector<copy_constructible<>, equality_comparable<>, relaxed>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:131:19: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept, _a>' (aka 'any<vector<copy_constructible<_a>, copy_constructible<_b>, equality_comparable<_a>, equality_comparable<_a, int>, equality_comparable<int, _a>, equality_comparable<_b>, equality_comparable<_b, int>, equality_comparable<int, _b>, equality_comparable<_a, _b>>, boost::type_erasure::_a>') and 'any<test_concept, _a>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:132:21: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept, _a>' (aka 'any<vector<copy_constructible<_a>, copy_constructible<_b>, equality_comparable<_a>, equality_comparable<_a, int>, equality_comparable<int, _a>, equality_comparable<_b>, equality_comparable<_b, int>, equality_comparable<int, _b>, equality_comparable<_a, _b>>, boost::type_erasure::_a>') and 'any<test_concept, _a>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:138:19: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'any<test_concept, _b>' (aka 'any<vector<copy_constructible<_a>, copy_constructible<_b>, equality_comparable<_a>, equality_comparable<_a, int>, equality_comparable<int, _a>, equality_comparable<_b>, equality_comparable<_b, int>, equality_comparable<int, _b>, equality_comparable<_a, _b>>, boost::type_erasure::_b>') and 'any<test_concept, _b>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_equal.cpp:139:21: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept, _b>' (aka 'any<vector<copy_constructible<_a>, copy_constructible<_b>, equality_comparable<_a>, equality_comparable<_a, int>, equality_comparable<int, _a>, equality_comparable<_b>, equality_comparable<_b, int>, equality_comparable<int, _b>, equality_comparable<_a, _b>>, boost::type_erasure::_b>') and 'any<test_concept, _b>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
14 warnings generated.
                
test_forward_iterator
../libs/type_erasure/test/test_forward_iterator.cpp:36:22: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>>>') and 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_forward_iterator.cpp:62:41: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, boost::type_erasure::_a>, copy_constructible<_a>, assignable<_a>, incrementable<_a>>>') and 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, boost::type_erasure::_a>, copy_constructible<_a>, assignable<_a>, incrementable<_a>>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../libs/type_erasure/test/test_forward_iterator.cpp:86:22: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>') and 'any<test_concept>' (aka 'any<vector<forward_iterator<>, same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>')) to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
../boost/concept_check.hpp:234:30: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'boost::type_erasure::any<boost::mpl::vector<boost::type_erasure::forward_iterator<>, boost::type_erasure::same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>' and 'boost::type_erasure::any<boost::mpl::vector<boost::type_erasure::forward_iterator<>, boost::type_erasure::same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
../boost/concept_check.hpp:235:30: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'boost::type_erasure::any<boost::mpl::vector<boost::type_erasure::forward_iterator<>, boost::type_erasure::same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>' and 'boost::type_erasure::any<boost::mpl::vector<boost::type_erasure::forward_iterator<>, boost::type_erasure::same_type<boost::type_erasure::deduced<boost::type_erasure::iterator_value_type<boost::type_erasure::_self>>, int>, boost::type_erasure::relaxed>>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
5 warnings generated.
                
test_param
../libs/type_erasure/test/test_param.cpp:60:41: warning: unused variable 'c1' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:62:41: warning: unused variable 'c3' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:63:41: warning: unused variable 'c4' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:69:41: warning: unused variable 'c9' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:70:41: warning: unused variable 'c10' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:98:47: warning: unused variable 'c2' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:101:47: warning: unused variable 'c5' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:102:47: warning: unused variable 'c6' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:105:47: warning: unused variable 'c8' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:108:47: warning: unused variable 'c11' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:109:47: warning: unused variable 'c12' [-Wunused-variable]
../libs/type_erasure/test/test_param.cpp:180:42: warning: unused variable 'c7' [-Wunused-variable]
12 warnings generated.