Warnings: teeks99-dkr-mc15-20 - algorithm / clang-linux-15~c++20
Rev 5a839fb07a98f882f00d7d3c304dbccf7ccd2cda / Sat, 09 Nov 2024 21:05:11 +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.