Index: u32regex_token_iterator.hpp =================================================================== --- u32regex_token_iterator.hpp (revision 43) +++ u32regex_token_iterator.hpp (working copy) @@ -283,7 +283,7 @@ } #endif #ifndef U_WCHAR_IS_UTF16 -inline u32regex_token_iterator make_u32regex_token_iterator(const UChar* p, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_constants::match_default) +inline u32regex_token_iterator make_u32regex_token_iterator(const UChar* p, const u32regex& e, int /*submatch = 0*/, regex_constants::match_flag_type m = regex_constants::match_default) { return u32regex_token_iterator(p, p+u_strlen(p), e, m); } @@ -345,7 +345,7 @@ } #endif #ifndef U_WCHAR_IS_UTF16 -inline u32regex_token_iterator make_u32regex_token_iterator(const UChar* p, const u32regex& e, const std::vector& submatch, regex_constants::match_flag_type m = regex_constants::match_default) +inline u32regex_token_iterator make_u32regex_token_iterator(const UChar* p, const u32regex& e, const std::vector& /*submatch*/, regex_constants::match_flag_type m = regex_constants::match_default) { return u32regex_token_iterator(p, p+u_strlen(p), e, m); } Index: perl_matcher.hpp =================================================================== --- perl_matcher.hpp (revision 43) +++ perl_matcher.hpp (working copy) @@ -45,6 +45,10 @@ { return ((c < static_cast(0)) ? true : ((c >= static_cast(1 << CHAR_BIT)) ? true : map[c] & mask)); } +inline bool can_start(unsigned int c, const unsigned char* map, unsigned char mask) +{ + return (((c >= static_cast(1 << CHAR_BIT)) ? true : map[c] & mask)); +} inline bool can_start(char c, const unsigned char* map, unsigned char mask) { return map[(unsigned char)c] & mask;