X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Ftype_traits%2Ftest%2Fpromote_enum_msvc_bug_test.cpp;h=8893818ee3738d94622abc63291a9eceae21ce87;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=3c6c9a7df20391f71bceb9ae7ea250bc330fc315;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/type_traits/test/promote_enum_msvc_bug_test.cpp b/ceph/src/boost/libs/type_traits/test/promote_enum_msvc_bug_test.cpp index 3c6c9a7df..8893818ee 100644 --- a/ceph/src/boost/libs/type_traits/test/promote_enum_msvc_bug_test.cpp +++ b/ceph/src/boost/libs/type_traits/test/promote_enum_msvc_bug_test.cpp @@ -22,6 +22,7 @@ #pragma warning(disable:1418) #endif +#if !(defined(BOOST_MSVC) && defined(CI_SUPPRESS_KNOWN_ISSUES)) enum UIntEnum { UIntEnum_max = UINT_MAX }; @@ -37,6 +38,8 @@ void test_promote_to_uint() test_cv< UIntEnum, unsigned int >(); } +#endif + int main() { return 0;