Test output: teeks99-09-v16d-64onAMD64 - type_traits - promote_enum_msvc_bug_test / msvc-14.2
Rev c8d0b32583c2fa3266edf88cd8ccb32312feae17 / Wed, 20 Nov 2024 12:42:36 +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-20 19:28:57 UTC]: fail


    call "C:\teeks99-09\run\results\boost\bin.v2\standalone\msvc\msvc-14.2\msvc-setup.bat"  >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-14.2\dbg\x86_6\dbg-symbl-off\thrd-mlt\promote_enum_msvc_bug_test.obj"     -TP /wd4675 /EHs /GR /Zc:throwingNew /Od /Ob0 /W4 /WX /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /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): note: 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): note: 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 )