Skip to content
Snippets Groups Projects
Commit 33a42b32 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Disable MSVC warning C4702 (unreachable code) in Boost headers.

parent 90ba675d
Branches
Tags
No related merge requests found
...@@ -54,8 +54,16 @@ ...@@ -54,8 +54,16 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#endif #endif
#if LL_MSVC
#pragma warning (push)
#pragma warning (disable : 4702) // warning C4702: unreachable code
#endif
#include <boost/iostreams/tee.hpp> #include <boost/iostreams/tee.hpp>
#include <boost/iostreams/stream.hpp> #include <boost/iostreams/stream.hpp>
#if LL_MSVC
#pragma warning (pop)
#endif
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment