suppress shift warnings in boost (#811)

suppress shift warnings in boost
This commit is contained in:
Arvid Norberg 2016-06-12 21:14:21 -04:00 committed by GitHub
parent 0dcdf79dbf
commit 6e55c0564f
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,11 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wpedantic"
#if __GNUC__ >= 6
#pragma GCC diagnostic ignored "-Wshift-overflow"
#pragma GCC diagnostic ignored "-Wshift-count-overflow"
#pragma GCC diagnostic ignored "-Wshift-count-negative"
#endif
#endif
#ifdef __clang__

View File

@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <functional>
#include "libtorrent/aux_/disable_warnings_push.hpp"
#include <boost/multiprecision/cpp_int.hpp>
#include <boost/multiprecision/integer.hpp>