diff --git a/include/boost/re_detail/regex_match.hpp b/include/boost/re_detail/regex_match.hpp index 7aae87ab..9a8cd4d8 100644 --- a/include/boost/re_detail/regex_match.hpp +++ b/include/boost/re_detail/regex_match.hpp @@ -1118,7 +1118,8 @@ unsigned int reg_grep2(Predicate foo, I first, I last, const reg_expression #include #include +#include // dwa 10/20/2000 - needed for definition of wcslen() #include "primary_transform.hpp" diff --git a/src/cpp_regex_traits.cpp b/src/cpp_regex_traits.cpp index 48c08e25..a763dd66 100644 --- a/src/cpp_regex_traits.cpp +++ b/src/cpp_regex_traits.cpp @@ -28,17 +28,20 @@ #include #include #include "primary_transform.hpp" +#include // dwa 10/20/2000 - needed for definition of std::messages +#include // dwa 10/20/2000 - needed for wcscpy + #ifndef BOOST_RE_NO_LOCALE_H -#ifdef BOOST_MSVC -#pragma warning(disable:4786) +# ifdef BOOST_MSVC +# pragma warning(disable:4786) namespace std { using ::abs; using ::mbstate_t; } -#endif +# endif namespace{ const unsigned int re_classes_max = 14;