Test output: teeks99-09-v15d-64onAMD64 - safe_numerics - test_modulus_native / msvc-14.1
Rev c8d0b32583c2fa3266edf88cd8ccb32312feae17 / Tue, 19 Nov 2024 21:44:00 +0000
Compile [2024-11-20 04:58:55 UTC]: fail


    call "C:\teeks99-09\run\results\boost\bin.v2\standalone\msvc\msvc-14.1\msvc-setup.bat"  >nul
 cl /Zm800 -nologo "..\libs\safe_numerics\test\test_modulus_native.cpp" -c -Fo"C:\teeks99-09\run\results\boost\bin.v2\libs\safe_numerics\test\test_modulus_native.test\msvc-14.1\dbg\x86_6\dbg-symbl-off\thrd-mlt\test_modulus_native.obj"     -TP /wd4675 /EHs /GR /Zc:throwingNew /Od /Ob0 /W4 /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /favor:blend -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 "-I.." "-IC:\teeks99-09\run\boost_root\libs\assert\include" "-IC:\teeks99-09\run\boost_root\libs\core\include" "-IC:\teeks99-09\run\boost_root\libs\integer\include" "-IC:\teeks99-09\run\boost_root\libs\mp11\include" "-IC:\teeks99-09\run\boost_root\libs\safe_numerics\include" "-IC:\teeks99-09\run\boost_root\libs\throw_exception\include" "-IC:\teeks99-09\run\boost_root\libs\type_traits\include" 

test_modulus_native.cpp
c:\teeks99-09\run\boost_root\libs\safe_numerics\test\test_values.hpp(22): warning C4310: cast truncates constant value
c:\teeks99-09\run\boost_root\libs\safe_numerics\test\test_values.hpp(23): warning C4310: cast truncates constant value
c:\teeks99-09\run\boost_root\libs\safe_numerics\test\test_values.hpp(26): warning C4310: cast truncates constant value
c:\teeks99-09\run\boost_root\libs\safe_numerics\test\test_values.hpp(27): warning C4310: cast truncates constant value
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(924): error C2131: expression did not evaluate to a constant
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(927): note: failure was caused by non-constant arguments or reference to a non-constant symbol
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(927): note: see usage of '$S1'
..\boost/core/enable_if.hpp(45): note: see reference to class template instantiation 'boost::safe_numerics::modulus_result<boost::safe_numerics::safe_base<T,128,127,P,E>,T2>' being compiled
        with
        [
            T=T1,
            P=boost::safe_numerics::native,
            E=boost::safe_numerics::default_exception_policy,
            T2=T2
        ]
c:\teeks99-09\run\boost_root\libs\safe_numerics\test\test_modulus.hpp(26): note: see reference to class template instantiation 'boost::lazy_enable_if_c<true,boost::safe_numerics::modulus_result<boost::safe_numerics::safe_base<T,128,127,P,E>,T2>>' being compiled
        with
        [
            T=T1,
            P=boost::safe_numerics::native,
            E=boost::safe_numerics::default_exception_policy,
            T2=T2
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(1050): note: see reference to function template instantiation 'boost::lazy_enable_if_c<legal_overload<boost::safe_numerics::modulus_operator,T,U>::value,boost::safe_numerics::modulus_result<T,U>>::type boost::safe_numerics::operator %(const T &,const U &)' being compiled
..\libs\safe_numerics\test\test_modulus_native.cpp(47): note: see reference to function template instantiation 'bool test_modulus<T1,T2>(T1,T2,const char *,const char *,char)' being compiled
        with
        [
            T1=T1,
            T2=T2
        ]
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include\type_traits(1329): note: see reference to class template instantiation 'std::integral_constant<size_t,0>' being compiled
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(986): warning C4245: 'argument': conversion from 'int' to 'const R', signed/unsigned mismatch
        with
        [
            R=unsigned int
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(976): note: while compiling class template member function 'const boost::safe_numerics::interval<boost::safe_numerics::checked_result<unsigned int>> boost::safe_numerics::modulus_result<boost::safe_numerics::safe_base<T,128,127,P,E>,T2>::get_r_type_interval(void)'
        with
        [
            T=T1,
            P=boost::safe_numerics::native,
            E=boost::safe_numerics::default_exception_policy,
            T2=T2
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(990): warning C4245: 'argument': conversion from 'int' to 'const R', signed/unsigned mismatch
        with
        [
            R=unsigned int
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(986): warning C4245: 'argument': conversion from 'int' to 'const R', signed/unsigned mismatch
        with
        [
            R=unsigned __int64
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(976): note: while compiling class template member function 'const boost::safe_numerics::interval<boost::safe_numerics::checked_result<unsigned __int64>> boost::safe_numerics::modulus_result<boost::safe_numerics::safe_base<T,128,127,P,E>,T2>::get_r_type_interval(void)'
        with
        [
            T=T1,
            P=boost::safe_numerics::native,
            E=boost::safe_numerics::default_exception_policy,
            T2=T2
        ]
c:\teeks99-09\run\boost_root\boost\safe_numerics\safe_base_operations.hpp(990): warning C4245: 'argument': conversion from 'int' to 'const R', signed/unsigned mismatch
        with
        [
            R=unsigned __int64
        ]