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

12
test/test_warnings.cpp Normal file
View File

@ -0,0 +1,12 @@
#ifdef _MSC_VER
#pragma warning(disable:4820 4668)
#endif
#include <boost/regex.hpp>
void test_proc()
{
std::string text, re;
boost::regex exp(re);
regex_match(text, exp);
}