diff --git a/test/regress/test.hpp b/test/regress/test.hpp index 442e6680..59660f5e 100644 --- a/test/regress/test.hpp +++ b/test/regress/test.hpp @@ -58,7 +58,12 @@ template void do_test(const charT& c, const tagT& tag) { #ifndef BOOST_NO_STD_LOCALE +#if BOOST_WORKAROUND(BOOST_MSVC, <= 1200) && defined(TEST_THREADS) + // typeid appears to fail in multithreaded environments: + test_info::set_typename(""); +#else test_info::set_typename(typeid(boost::basic_regex >).name()); +#endif boost::basic_regex > e1; static bool done_empty_test = false; if(done_empty_test == false)