X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fbind%2Ftest%2Fbind_fastcall_test.cpp;h=b48c0718e87133af7f7925fb72c14655257147b2;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=2201716000c484a3258ef3f87114cfd04289ecd1;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/bind/test/bind_fastcall_test.cpp b/ceph/src/boost/libs/bind/test/bind_fastcall_test.cpp index 220171600..b48c0718e 100644 --- a/ceph/src/boost/libs/bind/test/bind_fastcall_test.cpp +++ b/ceph/src/boost/libs/bind/test/bind_fastcall_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -108,3 +116,5 @@ int main() function_test(); return boost::report_errors(); } + +#endif