Warnings: teeks99-dkr-mc12-20 - algorithm / clang-linux-12~c++20
Rev 5a839fb07a98f882f00d7d3c304dbccf7ccd2cda / Sat, 09 Nov 2024 12:21:40 +0000
clamp_test
../libs/algorithm/test/clamp_test.cpp:95:50: warning: implicit conversion from 'double' to 'typename boost::type_identity<short>::type' (aka 'short') changes value from 56.9 to 56 [-Wliteral-conversion]
../libs/algorithm/test/clamp_test.cpp:96:60: warning: implicit conversion from 'int' to 'const typename boost::type_identity<short>::type' (aka 'const short') changes value from 123456999 to -12825 [-Wconstant-conversion]
../libs/algorithm/test/clamp_test.cpp:96:50: warning: implicit conversion from 'int' to 'const typename boost::type_identity<short>::type' (aka 'const short') changes value from 12345678 to 24910 [-Wconstant-conversion]
../libs/algorithm/test/clamp_test.cpp:310:80: warning: implicit conversion from 'double' to 'typename boost::type_identity<short>::type' (aka 'short') changes value from 56.9 to 56 [-Wliteral-conversion]
../libs/algorithm/test/clamp_test.cpp:312:90: warning: implicit conversion from 'int' to 'const typename boost::type_identity<short>::type' (aka 'const short') changes value from 123456999 to -12825 [-Wconstant-conversion]
../libs/algorithm/test/clamp_test.cpp:312:80: warning: implicit conversion from 'int' to 'const typename boost::type_identity<short>::type' (aka 'const short') changes value from 12345678 to 24910 [-Wconstant-conversion]
6 warnings generated.
                
is_clamped_test
../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]
../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]
../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]
../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]
../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]
../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]
6 warnings generated.