Index: array.hpp =================================================================== --- array.hpp (revision 51813) +++ array.hpp (working copy) @@ -19,11 +19,17 @@ * 20 Jan 2001 - STLport fix (Beman Dawes) * 29 Sep 2000 - Initial Revision (Nico Josuttis) * - * Jan 29, 2004 + * 25 Mar 2009 - Suppressed MS warnings C4510 4610 Paul A. Bristow. */ #ifndef BOOST_ARRAY_HPP #define BOOST_ARRAY_HPP +#ifdef _MSC_VER +# pragma warning(push) +# pragma warning (disable: 4510) // boost::array' : default constructor could not be generated +# pragma warning (disable: 4610) // warning C4610: class 'boost::array' can never be instantiated - user defined constructor required +#endif + #include #include #include @@ -316,6 +322,10 @@ x.swap(y); } +#if defined (_MSC_VER) +# pragma warning(pop) +#endif + } /* namespace boost */ #endif /*BOOST_ARRAY_HPP*/