mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-09 23:23:59 +00:00
Disable Interprocess tests when /RTC is in effect.
This commit is contained in:
parent
40cf55240b
commit
6c0b763176
@ -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 <boost/config.hpp>
|
||||
#include <boost/config/pragma_message.hpp>
|
||||
|
||||
#if defined(__MSVC_RUNTIME_CHECKS)
|
||||
BOOST_PRAGMA_MESSAGE(
|
||||
"Test skipped because of /RTCc, which is incompatible with Boost.Interprocess");
|
||||
int main() {}
|
||||
#else
|
||||
|
||||
#include <boost/unordered/concurrent_flat_map.hpp>
|
||||
#include <atomic>
|
||||
#include <boost/asio.hpp>
|
||||
@ -115,3 +124,5 @@ int main(int argc, char** argv)
|
||||
return child(std::atoi(argv[1]),argv[2]);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -4,12 +4,16 @@
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/config/pragma_message.hpp>
|
||||
|
||||
#if defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION < 30900
|
||||
#include <boost/config/pragma_message.hpp>
|
||||
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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user