Test output: teeks99-dkr-mc15-20 - algorithm - is_clamped_test / clang-linux-15~c++20
Rev 5a839fb07a98f882f00d7d3c304dbccf7ccd2cda / Sat, 09 Nov 2024 21:05:11 +0000
Compile [2024-11-09 23:50:09 UTC]: fail


    "clang++-15"   -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++20 -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux  -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_TEST_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1   -I".."  -c -o "/var/boost/run/results/boost/bin.v2/libs/algorithm/test/is_clamped_test.test/clang-linux-15~c++20/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/is_clamped_test.o" "../libs/algorithm/test/is_clamped_test.cpp"

../libs/algorithm/test/is_clamped_test.cpp:93:51: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 50.999 to 50 [-Wliteral-conversion]
  BOOST_CHECK_EQUAL ( true,  ba::is_clamped ( 50, 50.999, 100 ));
                             ~~                   ^~~~~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:94:51: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 51.001 to 51 [-Wliteral-conversion]
  BOOST_CHECK_EQUAL ( false, ba::is_clamped ( 50, 51.001, 100 ));
                             ~~                   ^~~~~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:157:52: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 6.1 to 6 [-Wliteral-conversion]
    BOOST_CHECK_EQUAL(true, ba::is_clamped(5, 5.9, 6.1));
                            ~~                     ^~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:157:47: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 5.9 to 5 [-Wliteral-conversion]
    BOOST_CHECK_EQUAL(true, ba::is_clamped(5, 5.9, 6.1));
                            ~~                ^~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:158:52: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 6.1 to 6 [-Wliteral-conversion]
    BOOST_CHECK_EQUAL(true, ba::is_clamped(6, 5.9, 6.1));
                            ~~                     ^~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:158:47: warning: implicit conversion from 'double' to 'typename boost::type_identity<int>::type' (aka 'int') changes value from 5.9 to 5 [-Wliteral-conversion]
    BOOST_CHECK_EQUAL(true, ba::is_clamped(6, 5.9, 6.1));
                            ~~                ^~~
../boost/test/tools/old/interface.hpp:155:84: note: expanded from macro 'BOOST_CHECK_EQUAL'
    ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) )
                                                                                   ^
../boost/test/tools/old/interface.hpp:74:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL'
        BOOST_JOIN( BOOST_TEST_TOOL_PASS_ARGS, frwd_type )( ARGS ) );           \
                                                            ^~~~
../boost/test/tools/old/interface.hpp:57:57: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARGS0'
    BOOST_PP_SEQ_FOR_EACH( BOOST_TEST_TOOL_PASS_ARG, _, ARGS )
                                                        ^~~~
note: (skipping 20 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../boost/preprocessor/seq/elem.hpp:45:60: note: expanded from macro 'BOOST_PP_SEQ_ELEM_II'
#    define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
                                                           ^~
../boost/preprocessor/seq/elem.hpp:46:41: note: expanded from macro 'BOOST_PP_SEQ_ELEM_III'
#    define BOOST_PP_SEQ_ELEM_III(x, _) x
                                        ^
../boost/test/tools/old/interface.hpp:53:49: note: expanded from macro 'BOOST_TEST_TOOL_PASS_ARG'
#define BOOST_TEST_TOOL_PASS_ARG( r, _, arg ) , arg, BOOST_STRINGIZE( arg )
                                                ^~~
../libs/algorithm/test/is_clamped_test.cpp:200:31: error: no matching constructor for initialization of 'const custom_with_spaceship'
  const custom_with_spaceship c0(0);
                              ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:201:31: error: no matching constructor for initialization of 'const custom_with_spaceship'
  const custom_with_spaceship c1(1);
                              ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:202:31: error: no matching constructor for initialization of 'const custom_with_spaceship'
  const custom_with_spaceship c3(3);
                              ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:203:31: error: no matching constructor for initialization of 'const custom_with_spaceship'
  const custom_with_spaceship c6(6);
                              ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:204:31: error: no matching constructor for initialization of 'const custom_with_spaceship'
  const custom_with_spaceship c7(7);
                              ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:211:37: error: no matching constructor for initialization of 'const custom_with_spaceship'
    constexpr custom_with_spaceship c1(1);
                                    ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:212:37: error: no matching constructor for initialization of 'const custom_with_spaceship'
    constexpr custom_with_spaceship c3(3);
                                    ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
../libs/algorithm/test/is_clamped_test.cpp:213:37: error: no matching constructor for initialization of 'const custom_with_spaceship'
    constexpr custom_with_spaceship c6(6);
                                    ^  ~
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'custom_with_spaceship' for 1st argument
struct custom_with_spaceship {
       ^
../libs/algorithm/test/is_clamped_test.cpp:191:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
6 warnings and 8 errors generated.