1
0
forked from boostorg/mp11

Disable warnings exposed by address-model=64

This commit is contained in:
Peter Dimov
2019-12-18 01:00:11 +02:00
parent 49edfceea2
commit ea37a24f98
2 changed files with 10 additions and 2 deletions

View File

@ -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 <boost/mp11/algorithm.hpp>

View File

@ -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 <boost/mp11/detail/config.hpp>
#if BOOST_MP11_MSVC
# pragma warning( disable: 4503 ) // decorated name length exceeded
#endif
#include <boost/mp11/algorithm.hpp>
#include <boost/mp11/detail/config.hpp>
#include <boost/core/lightweight_test.hpp>