Ticket #2886: array_warnings.patch
File array_warnings.patch, 942 bytes (added by , 14 years ago) |
---|
-
array.hpp
19 19 * 20 Jan 2001 - STLport fix (Beman Dawes) 20 20 * 29 Sep 2000 - Initial Revision (Nico Josuttis) 21 21 * 22 * Jan 29, 200422 * 25 Mar 2009 - Suppressed MS warnings C4510 4610 Paul A. Bristow. 23 23 */ 24 24 #ifndef BOOST_ARRAY_HPP 25 25 #define BOOST_ARRAY_HPP 26 26 27 #ifdef _MSC_VER 28 # pragma warning(push) 29 # pragma warning (disable: 4510) // boost::array<T,N>' : default constructor could not be generated 30 # pragma warning (disable: 4610) // warning C4610: class 'boost::array<T,N>' can never be instantiated - user defined constructor required 31 #endif 32 27 33 #include <cstddef> 28 34 #include <stdexcept> 29 35 #include <boost/assert.hpp> … … 316 322 x.swap(y); 317 323 } 318 324 325 #if defined (_MSC_VER) 326 # pragma warning(pop) 327 #endif 328 319 329 } /* namespace boost */ 320 330 321 331 #endif /*BOOST_ARRAY_HPP*/