diff options
Diffstat (limited to 'boost/phoenix/support/vector.hpp')
-rw-r--r-- | boost/phoenix/support/vector.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/phoenix/support/vector.hpp b/boost/phoenix/support/vector.hpp index 82ec6afa44..6899d85527 100644 --- a/boost/phoenix/support/vector.hpp +++ b/boost/phoenix/support/vector.hpp @@ -1,3 +1,9 @@ +#ifdef BOOST_MSVC +#pragma warning(push) +#pragma warning(disable: 4512) // assignment operator could not be generated +#pragma warning(disable: 4510) // default constructor could not be generated +#pragma warning(disable: 4610) // can never be instantiated - user defined constructor required +#endif #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES) #ifndef BOOST_PHOENIX_SUPPORT_VECTOR_HPP @@ -132,3 +138,7 @@ BOOST_FUSION_ADAPT_TPL_STRUCT_NO_PARTIAL( #endif #endif + +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif |