rurban / re-engine-PCRE2

use pcre-jit instead of slow perl regex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error with perl 5.34

todd-richmond opened this issue · comments

PCRE2.xs no longer compiles because perl 5.34 #ifndefs out quite a few header declarations when PERL_EXT_RE_BUILD is not defined. Simple fix

*** PCRE2.xs.org 2021-08-25 21:51:37.991220377 -0700
--- PCRE2.xs 2021-08-25 21:51:54.080355417 -0700


*** 1,4 ****
--- 1,5 ----
/* -- c-basic-offset:4 -- */

  • #define PERL_EXT_RE_BUILD
    #include "EXTERN.h"
    #include "perl.h"
    #include "XSUB.h"

There is no perl 8.34.
There is an old discontinued pcre1 8.34, which was replaced by pcre2
We wont support the old pcre.

typo - i meant perl 5.34. Latest perl with latest pcre2 10.37

fixed in commit ad0f3b9