diff --git a/test/variant_convert_construct_throw.cpp b/test/variant_convert_construct_throw.cpp index 79757fc..bb53d7c 100644 --- a/test/variant_convert_construct_throw.cpp +++ b/test/variant_convert_construct_throw.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_copy_assign_throw.cpp b/test/variant_copy_assign_throw.cpp index 7f98f70..a13dccb 100644 --- a/test/variant_copy_assign_throw.cpp +++ b/test/variant_copy_assign_throw.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_copy_construct_throw.cpp b/test/variant_copy_construct_throw.cpp index 88937c2..81b44d9 100644 --- a/test/variant_copy_construct_throw.cpp +++ b/test/variant_copy_construct_throw.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_move_assign_throw.cpp b/test/variant_move_assign_throw.cpp index 6e65518..c1df594 100644 --- a/test/variant_move_assign_throw.cpp +++ b/test/variant_move_assign_throw.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_move_construct_throw.cpp b/test/variant_move_construct_throw.cpp index 01b2b02..aabf7d2 100644 --- a/test/variant_move_construct_throw.cpp +++ b/test/variant_move_construct_throw.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_subset.cpp b/test/variant_subset.cpp index 86cd505..90c9bc2 100644 --- a/test/variant_subset.cpp +++ b/test/variant_subset.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include diff --git a/test/variant_valueless.cpp b/test/variant_valueless.cpp index 6a13086..176c674 100644 --- a/test/variant_valueless.cpp +++ b/test/variant_valueless.cpp @@ -6,6 +6,10 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning( disable: 4702 ) // unreachable code +#endif + #include #include #include