diff --git a/include/boost/regex_traits.hpp b/include/boost/regex_traits.hpp index 8fbee338..184729d6 100644 --- a/include/boost/regex_traits.hpp +++ b/include/boost/regex_traits.hpp @@ -149,6 +149,11 @@ public: }; static std::string set_message_catalogue(const std::string& s); protected: +#if defined(__MWERKS__) && __MWERKS__ <= 0x6000 + friend class c_regex_traits; + friend class c_regex_traits; +#endif + static char regex_message_catalogue[200]; enum syntax_map_size {