added pragma to suppress warns about offsetof with vacpp 6.0

[SVN r23141]
This commit is contained in:
Joaquín M. López Muñoz 2004-06-21 15:00:59 +00:00
parent 197bdd5436
commit da995c357a

View File

@ -14,8 +14,14 @@
#define BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING
#define BOOST_MULTI_INDEX_ENABLE_SAFE_MODE
#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
#include <boost/detail/workaround.hpp>
#include <boost/multi_index/safe_mode_errors.hpp>
#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_):