diff --git a/test/cfoa/interprocess_concurrency_tests.cpp b/test/cfoa/interprocess_concurrency_tests.cpp index f69a48b6..6f83c6f9 100644 --- a/test/cfoa/interprocess_concurrency_tests.cpp +++ b/test/cfoa/interprocess_concurrency_tests.cpp @@ -2,6 +2,15 @@ // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#include +#include + +#if defined(__MSVC_RUNTIME_CHECKS) +BOOST_PRAGMA_MESSAGE( + "Test skipped because of /RTCc, which is incompatible with Boost.Interprocess"); +int main() {} +#else + #include #include #include @@ -115,3 +124,5 @@ int main(int argc, char** argv) return child(std::atoi(argv[1]),argv[2]); } } + +#endif diff --git a/test/unordered/mmap_tests.cpp b/test/unordered/mmap_tests.cpp index 634eecfd..90396b48 100644 --- a/test/unordered/mmap_tests.cpp +++ b/test/unordered/mmap_tests.cpp @@ -4,12 +4,16 @@ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include +#include #if defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION < 30900 -#include BOOST_PRAGMA_MESSAGE( "This version of clang is incompatible with Boost.Process"); int main() {} +#elif defined(__MSVC_RUNTIME_CHECKS) +BOOST_PRAGMA_MESSAGE( + "Test skipped because of /RTCc, which is incompatible with Boost.Interprocess"); +int main() {} #else #include "../helpers/test.hpp"