diff --git a/test/mp_for_each.cpp b/test/mp_for_each.cpp index 1db533e..d727e02 100644 --- a/test/mp_for_each.cpp +++ b/test/mp_for_each.cpp @@ -1,5 +1,5 @@ -// Copyright 2017 Peter Dimov. +// Copyright 2017 Peter Dimov. // // Distributed under the Boost Software License, Version 1.0. // @@ -11,6 +11,8 @@ #if BOOST_MP11_MSVC # pragma warning( disable: 4503 ) // decorated name length exceeded # pragma warning( disable: 4307 ) // '*': integral constant overflow +# pragma warning( disable: 4244 ) // conversion from size_t to uint32_t +# pragma warning( disable: 4267 ) // conversion from size_t to uint32_t #endif #include diff --git a/test/mp_with_index.cpp b/test/mp_with_index.cpp index 94cbb38..85a142d 100644 --- a/test/mp_with_index.cpp +++ b/test/mp_with_index.cpp @@ -1,5 +1,5 @@ -// Copyright 2017 Peter Dimov. +// Copyright 2017 Peter Dimov. // // Distributed under the Boost Software License, Version 1.0. // @@ -7,6 +7,12 @@ // http://www.boost.org/LICENSE_1_0.txt +#include + +#if BOOST_MP11_MSVC +# pragma warning( disable: 4503 ) // decorated name length exceeded +#endif + #include #include #include