forked from boostorg/regex
Reinstate many workarounds to get older msvc versions compiling.
This commit is contained in:
@ -38,6 +38,7 @@ rule regex-test ( name : sources + : requirements * : input-files * )
|
||||
R_SOURCE =
|
||||
basic_tests.cpp
|
||||
main.cpp
|
||||
wmain.cpp
|
||||
test_alt.cpp
|
||||
test_anchors.cpp
|
||||
test_asserts.cpp
|
||||
@ -149,13 +150,13 @@ test-suite regex
|
||||
[ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ]
|
||||
]
|
||||
[ link concepts/concept_check.cpp :
|
||||
<define>BOOST_REGEX_STANDALONE [ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ] : standalone_concept_check
|
||||
<define>BOOST_REGEX_STANDALONE [ check-target-builds ../build//is_legacy_03 : : <build>no ] : standalone_concept_check
|
||||
]
|
||||
[ link concepts/icu_concept_check.cpp :
|
||||
<define>BOOST_REGEX_STANDALONE [ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ]
|
||||
]
|
||||
[ link concepts/icu_concept_check.cpp :
|
||||
[ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ] : standalone_icu_concept_check
|
||||
[ check-target-builds ../build//is_legacy_03 : : <build>no ] : standalone_icu_concept_check
|
||||
]
|
||||
[ link concepts/range_concept_check.cpp :
|
||||
[ check-target-builds ../build//is_legacy_03 : : <source>../build//boost_regex ]
|
||||
@ -212,3 +213,11 @@ compile test_warnings.cpp
|
||||
: <toolset>msvc:<warnings>all <toolset>msvc:<warnings-as-errors>on
|
||||
<toolset>gcc:<warnings>all <toolset>gcc:<warnings-as-errors>on
|
||||
<toolset>clang:<warnings>all <toolset>clang:<warnings-as-errors>on ;
|
||||
|
||||
compile test_warnings.cpp
|
||||
: <toolset>msvc:<warnings>all <toolset>msvc:<warnings-as-errors>on
|
||||
<toolset>gcc:<warnings>all <toolset>gcc:<warnings-as-errors>on
|
||||
<toolset>clang:<warnings>all <toolset>clang:<warnings-as-errors>on
|
||||
<define>BOOST_REGEX_STANDALONE
|
||||
[ check-target-builds ../build//is_legacy_03 : : <build>no ]
|
||||
: test_warnings_standalone ;
|
||||
|
@ -201,21 +201,6 @@ void test(const char& c, const test_invalid_regex_tag& tag)
|
||||
do_test(c, tag);
|
||||
}
|
||||
|
||||
#ifndef BOOST_NO_WREGEX
|
||||
void test(const wchar_t& c, const test_regex_replace_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const wchar_t& c, const test_regex_search_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const wchar_t& c, const test_invalid_regex_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_NO_EXCEPTIONS
|
||||
namespace boost{
|
||||
|
||||
|
Reference in New Issue
Block a user