On Thu, Feb 4, 2021 at 10:16 AM <manuel.serr...@inria.fr> wrote:
> The version 4.4b is almost complete and ready. I would be glab if you
> could give a try before it is official released. Thanks in advance for
> your help,

GCC says:

In file included from Clib/cregexp.c:16:
Clib/cpcre.h: In function 'bgl_regcomp':
Clib/cpcre.h:340:14: warning: suggest parentheses around operand of
'!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
  340 |          if( !options & PCRE_BGLNORAISE ) {
      |              ^~~~~~~~

The expression "!options & PCRE_BGLNORAISE" is parsed as "(!options) &
PCRE_BGLNORAISE".  I'm pretty sure you want "!(options &
PCRE_BGLNORAISE)" here.

Regards,
-- 
Jerry James
http://www.jamezone.org/

Reply via email to