Tentative fix for msvc warnings.

See https://github.com/boostorg/regex/issues/61.
Adds warning test case.
This commit is contained in:
jzmaddock
2018-07-22 17:16:21 +01:00
parent 2517588955
commit 7b2ccc0095
15 changed files with 66 additions and 15 deletions

View File

@ -35,7 +35,10 @@ namespace BOOST_REGEX_DETAIL_NS{
#ifdef BOOST_MSVC
#pragma warning(push)
#pragma warning(disable:4244 4800)
#pragma warning(disable:4244)
#if BOOST_MSVC < 1910
#pragma warning(disable:4800)
#endif
#endif
inline boost::intmax_t umax(mpl::false_ const&)