diff --git a/test/regress/regex_test.cpp b/test/regress/regex_test.cpp index 75c481ee..889c0543 100644 --- a/test/regress/regex_test.cpp +++ b/test/regress/regex_test.cpp @@ -26,6 +26,7 @@ // disable automatic selection of support library: #define BOOST_REGEX_NO_LIB #define BOOST_REGEX_STATIC_LINK +#define BOOST_REGEX_NO_EXTERNAL_TEMPLATES #include #include diff --git a/test/regress/wregex_test.cpp b/test/regress/wregex_test.cpp index f7b24a0b..258facf7 100644 --- a/test/regress/wregex_test.cpp +++ b/test/regress/wregex_test.cpp @@ -26,6 +26,7 @@ // disable automatic selection of support library: #define BOOST_REGEX_NO_LIB #define BOOST_REGEX_STATIC_LINK +#define BOOST_REGEX_NO_EXTERNAL_TEMPLATES #if defined(_MSC_VER) && defined(__STL_DEBUG) && defined(_DLL) //