From da995c357a8c655646ecc8564da9969e8cdfa993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20M=2E=20L=C3=B3pez=20Mu=C3=B1oz?= Date: Mon, 21 Jun 2004 15:00:59 +0000 Subject: [PATCH] added pragma to suppress warns about offsetof with vacpp 6.0 [SVN r23141] --- test/pre_multi_index.hpp | 6 ++++++ 1 file changed, 6 insertions(+) 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_):