Test output: teeks99-09-v11d-64onAMD64 - type_traits - promote_enum_msvc_bug_test / msvc-11.0
Rev e8056f69c95fd5bbc08528738f43c8114da4f3b8 / Tue, 19 Nov 2024 05:18:24 +0000
Notes
[ Alexander Nasonov ] See bug 99776 'enum UIntEnum { value = UINT_MAX } is promoted to int' http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=22b0a6b7-120f-4ca0-9136-fa1b25b26efe https://developercommunity.visualstudio.com/content/problem/490264/standard-violation-enum-underlying-type-cannot-rep.html
Compile [2024-11-19 06:48:04 UTC]: fail


    call "C:\teeks99-09\run\results\boost\bin.v2\standalone\msvc\msvc-11.0\msvc-setup.bat" amd64 >nul
 cl /Zm800 -nologo "..\libs\type_traits\test\promote_enum_msvc_bug_test.cpp" -c -Fo"C:\teeks99-09\run\results\boost\bin.v2\libs\type_traits\test\promote_enum_msvc_bug_test.test\msvc-11.0\dbg\x86_6\dbg-symbl-off\thrd-mlt\promote_enum_msvc_bug_test.obj"     -TP /wd4675 /EHs /GR /Od /Ob0 /W4 /WX /MDd /Zc:forScope /Zc:wchar_t /favor:blend -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 "-I.." "-I..\libs\type_traits\test\libs\tt2\light\include" "-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\move\include" "-IC:\teeks99-09\run\boost_root\libs\throw_exception\include" "-IC:\teeks99-09\run\boost_root\libs\type_traits\include" 

promote_enum_msvc_bug_test.cpp
..\libs\type_traits\test\promote_enum_msvc_bug_test.cpp(32) : error C2338: (boost::is_same<T, unsigned int>::value)
        ..\libs\type_traits\test\promote_enum_msvc_bug_test.cpp(37) : see reference to function template instantiation 'void assert_is_uint<int>(T)' being compiled
        with
        [
            T=int
        ]
c:\teeks99-09\run\boost_root\libs\type_traits\test\promote_util.hpp(30) : error C2338: ( ::boost::is_same< promoted , Promoted >::value )
        ..\libs\type_traits\test\promote_enum_msvc_bug_test.cpp(38) : see reference to function template instantiation 'void test_cv<UIntEnum,unsigned int>(void)' being compiled
c:\teeks99-09\run\boost_root\libs\type_traits\test\promote_util.hpp(31) : error C2338: ( ::boost::is_same< promoted_c , Promoted const >::value )
c:\teeks99-09\run\boost_root\libs\type_traits\test\promote_util.hpp(32) : error C2338: ( ::boost::is_same< promoted_v , Promoted volatile >::value )
c:\teeks99-09\run\boost_root\libs\type_traits\test\promote_util.hpp(33) : error C2338: ( ::boost::is_same< promoted_cv, Promoted const volatile >::value )