suppress shift warnings in boost (#811)
suppress shift warnings in boost
This commit is contained in:
parent
0dcdf79dbf
commit
6e55c0564f
|
@ -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__
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue