Fix for building with BOOST_REGEX_MAX_CACHE_BLOCKS=0.

Also fix some msvc warnings in test_sets.cpp.
Add test case.
Fixes the issues in https://github.com/boostorg/regex/pull/171
This commit is contained in:
jzmaddock
2022-03-07 16:32:43 +00:00
parent a9f18c2c03
commit 76e7a4218e
3 changed files with 24 additions and 13 deletions

View File

@@ -94,6 +94,15 @@ test-suite regex
<define>TEST_THREADS
: regex_regress_threaded ]
[ run regress/$(R_SOURCE) ../build//boost_regex
../../thread/build//boost_thread ../build//icu_options
: # command line
: # input files
: # requirements
<define>TEST_THREADS
<define>BOOST_REGEX_MAX_CACHE_BLOCKS=0
: regex_regress_threaded_no_cache ]
[ regex-test posix_api_check : c_compiler_checks/posix_api_check.c ]
[ compile c_compiler_checks/wide_posix_api_check.c