diff --git a/test/pre_multi_index.hpp b/test/pre_multi_index.hpp index 714431b..9ea4ff1 100644 --- a/test/pre_multi_index.hpp +++ b/test/pre_multi_index.hpp @@ -14,8 +14,14 @@ #define BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING #define BOOST_MULTI_INDEX_ENABLE_SAFE_MODE +#include /* keep it first to prevent nasty warns in MSVC */ +#include #include +#if BOOST_WORKAROUND(__IBMCPP__,<=600) +#pragma info(nolan) /* suppress warnings about offsetof with non-POD types */ +#endif + struct safe_mode_exception { safe_mode_exception(boost::multi_index::safe_mode::error_code error_code_):