Disabled warning 4121 (alignment sensitive to packing) on MSVC.

[SVN r13365]
This commit is contained in:
Peter Dimov
2002-04-04 13:21:55 +00:00
parent 47f23f8b4f
commit 6c02c10d7e

View File

@ -22,6 +22,11 @@
#include <boost/type_traits/transform_traits.hpp>
#include <boost/static_assert.hpp>
#ifdef BOOST_MSVC
# pragma warning(push)
# pragma warning(disable: 4121) // alignment is sensitive to packing
#endif
namespace boost{
template <class T> struct alignment_of;
@ -190,4 +195,8 @@ public:
} // namespace boost
#ifdef BOOST_MSVC
# pragma warning(pop)
#endif
#endif // ALIGNMENT_TYPE_TRAITS_HPP