Reinstate many workarounds to get older msvc versions compiling.

This commit is contained in:
jzmaddock
2020-12-13 18:03:47 +00:00
parent 5e982204f7
commit c24967709d
41 changed files with 341 additions and 293 deletions

View File

@ -114,7 +114,7 @@ inline unsigned utf8_trailing_byte_count(std::uint8_t c)
return utf8_byte_count(c) - 1;
}
#ifdef BOOST_MSVC
#ifdef BOOST_REGEX_MSVC
#pragma warning(push)
#pragma warning(disable:4100)
#endif
@ -132,7 +132,7 @@ inline void invalid_utf32_code_point(std::uint32_t val)
throw e;
#endif
}
#ifdef BOOST_MSVC
#ifdef BOOST_REGEX_MSVC
#pragma warning(pop)
#endif