A version of the g++ compiler isn't allowing the implicit cast of U32 to an
enum. Change to use an explicit cast.
{
/* Returns the enum corresponding to the character set in 'flags' */
{
/* Returns the enum corresponding to the character set in 'flags' */
- return (flags & RXf_PMf_CHARSET) >> _RXf_PMf_CHARSET_SHIFT;
+ return (regex_charset) ((flags & RXf_PMf_CHARSET) >> _RXf_PMf_CHARSET_SHIFT);
}
/* Next available bit after the above. Name begins with '_' so won't be
}
/* Next available bit after the above. Name begins with '_' so won't be