mirror of
https://github.com/boostorg/unordered.git
synced 2026-05-04 11:44:19 +02:00
Disable Interprocess tests when /RTC is in effect.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user