Hi. Here is the output I get:
In file included from src/pcre2/lpcre2.c:10:0:
/usr/include/pcre2.h:828:2: error: #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
#error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
^
/usr/include/pcre2.h:829:2: error: #error Use 8, 16, or 32; or 0 for a multi-width application.
#error Use 8, 16, or 32; or 0 for a multi-width application.
^
src/pcre2/lpcre2.c:63:3: error: expected specifier-qualifier-list before ‘PCRE2_SUFFIX’
pcre2_code *pr;
^
src/pcre2/../algo.h: In function ‘push_substrings’:
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:217:26: note: in expansion of macro ‘ALG_NSUB’
if (lua_checkstack (L, ALG_NSUB(ud)) == 0) {
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:220:49: note: in expansion of macro ‘ALG_NSUB’
luaL_error (L, "cannot add %d stack slots", ALG_NSUB(ud));
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:222:20: note: in expansion of macro ‘ALG_NSUB’
for (i = 1; i <= ALG_NSUB(ud); i++) {
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:45:34: error: ‘pcre2_substring_length_bynumber_’ undeclared (first use in this function)
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:45:34: note: each undeclared identifier is reported only once for each function it appears in
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:223:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/../algo.h: In function ‘algf_gsub’:
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:245:50: note: in expansion of macro ‘ALG_NSUB’
BUFFERZ_PUTREPSTRING (&BufRep, argE.funcpos, ALG_NSUB(ud));
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/../algo.h:265:27: note: in expansion of macro ‘ALG_SUBBEG’
from = ALG_BASE(st) + ALG_SUBBEG(ud,0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:266:25: note: in expansion of macro ‘ALG_SUBEND’
to = ALG_BASE(st) + ALG_SUBEND(ud,0);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:45:34: error: ‘pcre2_substring_length_bynumber_’ undeclared (first use in this function)
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/../algo.h:290:30: note: in expansion of macro ‘ALG_SUBVALID’
else if (num == 0 || ALG_SUBVALID (ud,num))
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/../algo.h:290:30: note: in expansion of macro ‘ALG_SUBVALID’
else if (num == 0 || ALG_SUBVALID (ud,num))
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/../algo.h:291:63: note: in expansion of macro ‘ALG_SUBBEG’
buffer_addlstring (pBuf, argE.text + ALG_BASE(st) + ALG_SUBBEG(ud,num), ALG_SUBLEN(ud,num));
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:291:83: note: in expansion of macro ‘ALG_SUBLEN’
buffer_addlstring (pBuf, argE.text + ALG_BASE(st) + ALG_SUBBEG(ud,num), ALG_SUBLEN(ud,num));
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:291:83: note: in expansion of macro ‘ALG_SUBLEN’
buffer_addlstring (pBuf, argE.text + ALG_BASE(st) + ALG_SUBBEG(ud,num), ALG_SUBLEN(ud,num));
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:297:11: note: in expansion of macro ‘ALG_NSUB’
if (ALG_NSUB(ud) > 0)
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:298:9: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, argE.text + ALG_BASE(st), 1);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:298:9: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, argE.text + ALG_BASE(st), 1);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:298:9: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, argE.text + ALG_BASE(st), 1);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:298:9: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, argE.text + ALG_BASE(st), 1);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:307:11: note: in expansion of macro ‘ALG_NSUB’
if (ALG_NSUB(ud) > 0) {
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:309:16: note: in expansion of macro ‘ALG_NSUB’
narg = ALG_NSUB(ud);
^
src/pcre2/../algo.h: In function ‘algf_count’:
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:422:25: note: in expansion of macro ‘ALG_SUBEND’
to = ALG_BASE(st) + ALG_SUBEND(ud,0);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/../algo.h:434:33: note: in expansion of macro ‘ALG_SUBBEG’
int from = ALG_BASE(st) + ALG_SUBBEG(ud,0);
^
src/pcre2/../algo.h: In function ‘finish_generic_find’:
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:54:66: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_PUSHSTART(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBBEG(ud,n) + 1)
^
src/pcre2/lpcre2.c:57:4: note: in expansion of macro ‘ALG_PUSHSTART’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:460:7: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE->startoffset), 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:55:66: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBEND(ud,n))
^
src/pcre2/lpcre2.c:57:32: note: in expansion of macro ‘ALG_PUSHEND’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:460:7: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE->startoffset), 0);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:461:9: note: in expansion of macro ‘ALG_NSUB’
if (ALG_NSUB(ud)) /* push captures */
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:464:7: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE->text, 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:464:7: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE->text, 0);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:464:7: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE->text, 0);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:467:38: note: in expansion of macro ‘ALG_NSUB’
return (method == METHOD_FIND) ? ALG_NSUB(ud) + 2 : ALG_NSUB(ud);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:467:57: note: in expansion of macro ‘ALG_NSUB’
return (method == METHOD_FIND) ? ALG_NSUB(ud) + 2 : ALG_NSUB(ud);
^
src/pcre2/../algo.h: In function ‘gmatch_iter’:
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:521:12: note: in expansion of macro ‘ALG_SUBLEN’
if (!ALG_SUBLEN(ud,0)) { /* no progress: prevent endless loop */
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:521:12: note: in expansion of macro ‘ALG_SUBLEN’
if (!ALG_SUBLEN(ud,0)) { /* no progress: prevent endless loop */
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:522:54: note: in expansion of macro ‘ALG_SUBEND’
if (last_end == ALG_BASE(argE.startoffset) + ALG_SUBEND(ud,0)) {
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:528:47: note: in expansion of macro ‘ALG_SUBEND’
last_end = ALG_BASE(argE.startoffset) + ALG_SUBEND(ud,0);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:534:11: note: in expansion of macro ‘ALG_NSUB’
if (ALG_NSUB(ud)) {
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:536:16: note: in expansion of macro ‘ALG_NSUB’
return ALG_NSUB(ud);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:539:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text, 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:539:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text, 0);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:539:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text, 0);
^
src/pcre2/../algo.h: In function ‘split_iter’:
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:569:12: note: in expansion of macro ‘ALG_SUBLEN’
if (!ALG_SUBLEN(ud,0)) { /* no progress: prevent endless loop */
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:569:12: note: in expansion of macro ‘ALG_SUBLEN’
if (!ALG_SUBLEN(ud,0)) { /* no progress: prevent endless loop */
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:570:54: note: in expansion of macro ‘ALG_SUBEND’
if (last_end == ALG_BASE(argE.startoffset) + ALG_SUBEND(ud,0)) {
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/../algo.h:575:48: note: in expansion of macro ‘ALG_SUBEND’
lua_pushinteger(L, ALG_BASE(newoffset) + ALG_SUBEND(ud,0)); /* update start offset and last_end */
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:579:27: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushinteger (L, ALG_SUBLEN(ud,0) ? 0 : ALG_CHARSIZE); /* update incr */
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/../algo.h:579:27: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushinteger (L, ALG_SUBLEN(ud,0) ? 0 : ALG_CHARSIZE); /* update incr */
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/../algo.h:583:24: note: in expansion of macro ‘ALG_SUBBEG’
ALG_SUBBEG(ud,0) + ALG_BASE(newoffset) - argE.startoffset);
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:585:11: note: in expansion of macro ‘ALG_NSUB’
if (ALG_NSUB(ud)) {
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:587:20: note: in expansion of macro ‘ALG_NSUB’
return 1 + ALG_NSUB(ud);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:590:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text + ALG_BASE(newoffset), 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:590:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text + ALG_BASE(newoffset), 0);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/../algo.h:590:9: note: in expansion of macro ‘ALG_PUSHSUB’
ALG_PUSHSUB (L, ud, argE.text + ALG_BASE(newoffset), 0);
^
src/pcre2/../algo.h: In function ‘push_substring_table’:
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:645:20: note: in expansion of macro ‘ALG_NSUB’
for (i = 1; i <= ALG_NSUB(ud); i++) {
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:45:34: error: ‘pcre2_substring_length_bynumber_’ undeclared (first use in this function)
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:646:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:646:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:646:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:646:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/../algo.h:646:5: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, i);
^
src/pcre2/../algo.h: In function ‘push_offset_table’:
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/../algo.h:655:23: note: in expansion of macro ‘ALG_NSUB’
for (i=1, j=1; i <= ALG_NSUB(ud); i++) {
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:45:34: error: ‘pcre2_substring_length_bynumber_’ undeclared (first use in this function)
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/../algo.h:656:9: note: in expansion of macro ‘ALG_SUBVALID’
if (ALG_SUBVALID (ud,i)) {
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/../algo.h:656:9: note: in expansion of macro ‘ALG_SUBVALID’
if (ALG_SUBVALID (ud,i)) {
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:54:66: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_PUSHSTART(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBBEG(ud,n) + 1)
^
src/pcre2/../algo.h:657:7: note: in expansion of macro ‘ALG_PUSHSTART’
ALG_PUSHSTART (L, ud, startoffset, i);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:55:66: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBEND(ud,n))
^
src/pcre2/../algo.h:659:7: note: in expansion of macro ‘ALG_PUSHEND’
ALG_PUSHEND (L, ud, startoffset, i);
^
src/pcre2/../algo.h: In function ‘generic_find_method’:
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:54:66: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_PUSHSTART(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBBEG(ud,n) + 1)
^
src/pcre2/lpcre2.c:57:4: note: in expansion of macro ‘ALG_PUSHSTART’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:685:9: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE.startoffset), 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:55:66: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBEND(ud,n))
^
src/pcre2/lpcre2.c:57:32: note: in expansion of macro ‘ALG_PUSHEND’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:685:9: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE.startoffset), 0);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:54:66: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_PUSHSTART(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBBEG(ud,n) + 1)
^
src/pcre2/lpcre2.c:57:4: note: in expansion of macro ‘ALG_PUSHSTART’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:690:9: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE.startoffset), 0);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:55:66: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBEND(ud,n))
^
src/pcre2/lpcre2.c:57:32: note: in expansion of macro ‘ALG_PUSHEND’
(ALG_PUSHSTART(L,ud,offs,n), ALG_PUSHEND(L,ud,offs,n))
^
src/pcre2/../algo.h:690:9: note: in expansion of macro ‘ALG_PUSHOFFSETS’
ALG_PUSHOFFSETS (L, ud, ALG_BASE(argE.startoffset), 0);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘push_error_message’:
src/pcre2/lpcre2.c:91:3: error: ‘PCRE2_UCHAR’ undeclared (first use in this function)
PCRE2_UCHAR buf[256];
^
src/pcre2/lpcre2.c:91:15: error: expected ‘;’ before ‘buf’
PCRE2_UCHAR buf[256];
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:92:7: error: ‘pcre2_get_error_message_’ undeclared (first use in this function)
if (pcre2_get_error_message(errorcode, buf, 256) > 0)
^
src/pcre2/lpcre2.c:92:42: error: ‘buf’ undeclared (first use in this function)
if (pcre2_get_error_message(errorcode, buf, 256) > 0)
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘Lpcre2_maketables’:
src/pcre2/lpcre2.c:150:55: error: ‘pcre2_maketables_’ undeclared (first use in this function)
*(const void**)lua_newuserdata (L, sizeof(void*)) = pcre2_maketables(NULL); //### argument NULL
^
src/pcre2/lpcre2.c: In function ‘compile_regex’:
src/pcre2/lpcre2.c:208:5: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
ud->ccontext = pcre2_compile_context_create(NULL);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:208:18: error: ‘pcre2_compile_context_create_’ undeclared (first use in this function)
ud->ccontext = pcre2_compile_context_create(NULL);
^
src/pcre2/lpcre2.c:209:9: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
if (ud->ccontext == NULL)
^
src/pcre2/lpcre2.c:217:7: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘tables’
ud->tables = pcre2_maketables (NULL); /* make tables with new locale */ //### argument NULL
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:217:18: error: ‘pcre2_maketables_’ undeclared (first use in this function)
ud->tables = pcre2_maketables (NULL); /* make tables with new locale */ //### argument NULL
^
src/pcre2/lpcre2.c:218:5: error: ‘pcre2_set_character_tables_’ undeclared (first use in this function)
pcre2_set_character_tables(ud->ccontext, ud->tables);
^
src/pcre2/lpcre2.c:218:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
pcre2_set_character_tables(ud->ccontext, ud->tables);
^
src/pcre2/lpcre2.c:218:48: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘tables’
pcre2_set_character_tables(ud->ccontext, ud->tables);
^
src/pcre2/lpcre2.c:222:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
pcre2_set_character_tables(ud->ccontext, argC->tables);
^
src/pcre2/lpcre2.c:231:5: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
ud->pr = pcre2_compile ((PCRE2_SPTR)argC->pattern, argC->patlen, argC->cflags, &errcode,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:231:12: error: ‘pcre2_compile_’ undeclared (first use in this function)
ud->pr = pcre2_compile ((PCRE2_SPTR)argC->pattern, argC->patlen, argC->cflags, &errcode,
^
src/pcre2/lpcre2.c:231:28: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
ud->pr = pcre2_compile ((PCRE2_SPTR)argC->pattern, argC->patlen, argC->cflags, &errcode,
^
src/pcre2/lpcre2.c:231:39: error: expected ‘)’ before ‘argC’
ud->pr = pcre2_compile ((PCRE2_SPTR)argC->pattern, argC->patlen, argC->cflags, &errcode,
^
src/pcre2/lpcre2.c:233:10: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (!ud->pr) {
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:240:12: error: ‘pcre2_pattern_info_’ undeclared (first use in this function)
if (0 != pcre2_pattern_info (ud->pr, PCRE2_INFO_CAPTURECOUNT, &ud->ncapt)) //###
^
src/pcre2/lpcre2.c:240:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 != pcre2_pattern_info (ud->pr, PCRE2_INFO_CAPTURECOUNT, &ud->ncapt)) //###
^
src/pcre2/lpcre2.c:240:68: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
if (0 != pcre2_pattern_info (ud->pr, PCRE2_INFO_CAPTURECOUNT, &ud->ncapt)) //###
^
src/pcre2/lpcre2.c:244:5: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
ud->match_data = pcre2_match_data_create(ud->ncapt+1, NULL); //### CHECK ALL
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:244:20: error: ‘pcre2_match_data_create_’ undeclared (first use in this function)
ud->match_data = pcre2_match_data_create(ud->ncapt+1, NULL); //### CHECK ALL
^
src/pcre2/lpcre2.c:244:46: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
ud->match_data = pcre2_match_data_create(ud->ncapt+1, NULL); //### CHECK ALL
^
src/pcre2/lpcre2.c:245:10: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
if (!ud->match_data)
^
src/pcre2/lpcre2.c:248:5: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
ud->ovector = pcre2_get_ovector_pointer(ud->match_data);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:248:17: error: ‘pcre2_get_ovector_pointer_’ undeclared (first use in this function)
ud->ovector = pcre2_get_ovector_pointer(ud->match_data);
^
src/pcre2/lpcre2.c:248:45: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
ud->ovector = pcre2_get_ovector_pointer(ud->match_data);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘do_named_subpatterns’:
src/pcre2/lpcre2.c:258:3: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
PCRE2_SPTR tabptr;
^
src/pcre2/lpcre2.c:258:14: error: expected ‘;’ before ‘tabptr’
PCRE2_SPTR tabptr;
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:261:3: error: ‘pcre2_pattern_info_’ undeclared (first use in this function)
pcre2_pattern_info (ud->pr, PCRE2_INFO_NAMECOUNT, &namecount);
^
src/pcre2/lpcre2.c:261:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
pcre2_pattern_info (ud->pr, PCRE2_INFO_NAMECOUNT, &namecount);
^
src/pcre2/lpcre2.c:264:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
pcre2_pattern_info (ud->pr, PCRE2_INFO_NAMETABLE, &name_table);
^
src/pcre2/lpcre2.c:265:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
pcre2_pattern_info (ud->pr, PCRE2_INFO_NAMEENTRYSIZE, &name_entry_size);
^
src/pcre2/lpcre2.c:266:3: error: ‘tabptr’ undeclared (first use in this function)
tabptr = name_table;
^
src/pcre2/lpcre2.c:46:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ncapt’
#define ALG_NSUB(ud) ((int)(ud)->ncapt)
^
src/pcre2/lpcre2.c:269:23: note: in expansion of macro ‘ALG_NSUB’
if (n > 0 && n <= ALG_NSUB(ud)) { /* check range */
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:45:34: error: ‘pcre2_substring_length_bynumber_’ undeclared (first use in this function)
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/lpcre2.c:271:7: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, n);
^
src/pcre2/lpcre2.c:45:70: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
#define ALG_SUBVALID(ud,n) (0 == pcre2_substring_length_bynumber((ud)->match_data, (n), NULL))
^
src/pcre2/lpcre2.c:52:4: note: in expansion of macro ‘ALG_SUBVALID’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/lpcre2.c:271:7: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, n);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:49:32: note: in expansion of macro ‘ALG_SUBBEG’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/lpcre2.c:271:7: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, n);
^
src/pcre2/lpcre2.c:43:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBEND(ud,n) ((int)(ud)->ovector[(n)+(n)+1])
^
src/pcre2/lpcre2.c:44:29: note: in expansion of macro ‘ALG_SUBEND’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/lpcre2.c:271:7: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, n);
^
src/pcre2/lpcre2.c:42:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ovector’
#define ALG_SUBBEG(ud,n) ((int)(ud)->ovector[(n)+(n)])
^
src/pcre2/lpcre2.c:44:52: note: in expansion of macro ‘ALG_SUBBEG’
#define ALG_SUBLEN(ud,n) (ALG_SUBEND((ud),(n)) - ALG_SUBBEG((ud),(n)))
^
src/pcre2/lpcre2.c:49:54: note: in expansion of macro ‘ALG_SUBLEN’
lua_pushlstring (L, (text) + ALG_SUBBEG((ud),(n)), ALG_SUBLEN((ud),(n)))
^
src/pcre2/lpcre2.c:52:32: note: in expansion of macro ‘ALG_PUSHSUB’
(ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0))
^
src/pcre2/lpcre2.c:271:7: note: in expansion of macro ‘ALG_PUSHSUB_OR_FALSE’
ALG_PUSHSUB_OR_FALSE (L, ud, text, n);
^
src/pcre2/lpcre2.c: In function ‘Lpcre2_dfa_exec’:
src/pcre2/lpcre2.c:292:5: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
ud->match_data = pcre2_match_data_create(argE.ovecsize/2, NULL); //### CHECK ALL
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:292:20: error: ‘pcre2_match_data_create_’ undeclared (first use in this function)
ud->match_data = pcre2_match_data_create(argE.ovecsize/2, NULL); //### CHECK ALL
^
src/pcre2/lpcre2.c:293:10: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
if (!ud->match_data)
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:296:9: error: ‘pcre2_dfa_match_’ undeclared (first use in this function)
res = pcre2_dfa_match (ud->pr, (PCRE2_SPTR)argE.text, argE.textlen, argE.startoffset,
^
src/pcre2/lpcre2.c:296:28: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
res = pcre2_dfa_match (ud->pr, (PCRE2_SPTR)argE.text, argE.textlen, argE.startoffset,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:296:35: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
res = pcre2_dfa_match (ud->pr, (PCRE2_SPTR)argE.text, argE.textlen, argE.startoffset,
^
src/pcre2/lpcre2.c:296:46: error: expected ‘)’ before ‘argE’
res = pcre2_dfa_match (ud->pr, (PCRE2_SPTR)argE.text, argE.textlen, argE.startoffset,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:302:27: error: ‘pcre2_get_ovector_pointer_’ undeclared (first use in this function)
PCRE2_SIZE* ovector = pcre2_get_ovector_pointer(ud->match_data);
^
src/pcre2/lpcre2.c:302:55: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
PCRE2_SIZE* ovector = pcre2_get_ovector_pointer(ud->match_data);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘gmatch_exec’:
src/pcre2/lpcre2.c:324:10: error: ‘pcre2_match_’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:324:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:324:32: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:324:43: error: expected ‘)’ before ‘argE’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘findmatch_exec’:
src/pcre2/lpcre2.c:333:10: error: ‘pcre2_match_’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:333:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:333:32: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:333:43: error: expected ‘)’ before ‘argE’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘gsub_exec’:
src/pcre2/lpcre2.c:338:10: error: ‘pcre2_match_’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:338:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:338:32: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:338:43: error: expected ‘)’ before ‘argE’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘split_exec’:
src/pcre2/lpcre2.c:343:10: error: ‘pcre2_match_’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:343:25: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:343:32: error: ‘PCRE2_SPTR’ undeclared (first use in this function)
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c:343:43: error: expected ‘)’ before ‘argE’
return pcre2_match (ud->pr, (PCRE2_SPTR)argE->text, argE->textlen,
^
src/pcre2/lpcre2.c: In function ‘Lpcre2_gc’:
src/pcre2/lpcre2.c:349:9: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘freed’
if (ud->freed == 0) { /* precaution against "manual" __gc calling */
^
src/pcre2/lpcre2.c:350:7: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘freed’
ud->freed = 1;
^
src/pcre2/lpcre2.c:351:11: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (ud->pr) pcre2_code_free (ud->pr);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:351:17: error: ‘pcre2_code_free_’ undeclared (first use in this function)
if (ud->pr) pcre2_code_free (ud->pr);
^
src/pcre2/lpcre2.c:351:36: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (ud->pr) pcre2_code_free (ud->pr);
^
src/pcre2/lpcre2.c:353:11: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
if (ud->ccontext) pcre2_compile_context_free (ud->ccontext);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:353:23: error: ‘pcre2_compile_context_free_’ undeclared (first use in this function)
if (ud->ccontext) pcre2_compile_context_free (ud->ccontext);
^
src/pcre2/lpcre2.c:353:53: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘ccontext’
if (ud->ccontext) pcre2_compile_context_free (ud->ccontext);
^
src/pcre2/lpcre2.c:354:11: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
if (ud->match_data) pcre2_match_data_free (ud->match_data);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c:354:25: error: ‘pcre2_match_data_free_’ undeclared (first use in this function)
if (ud->match_data) pcre2_match_data_free (ud->match_data);
^
src/pcre2/lpcre2.c:354:50: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘match_data’
if (ud->match_data) pcre2_match_data_free (ud->match_data);
^
src/pcre2/lpcre2.c: In function ‘Lpcre2_tostring’:
src/pcre2/lpcre2.c:361:9: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘freed’
if (ud->freed == 0)
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘Lpcre2_version’:
src/pcre2/lpcre2.c:370:3: error: ‘pcre2_config_’ undeclared (first use in this function)
pcre2_config(PCRE2_CONFIG_VERSION, buf);
^
src/pcre2/lpcre2.c: In function ‘Lpcre2_jit_compile’:
src/pcre2/lpcre2.c:380:17: error: ‘pcre2_jit_compile_’ undeclared (first use in this function)
int errcode = pcre2_jit_compile (ud->pr, options);
^
src/pcre2/lpcre2.c:380:38: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
int errcode = pcre2_jit_compile (ud->pr, options);
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘Lpcre2_pattern_info’:
src/pcre2/lpcre2.c:391:12: error: ‘pcre2_pattern_info_’ undeclared (first use in this function)
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:401:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_ALLOPTIONS, "ALLOPTIONS", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:401:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_ALLOPTIONS, "ALLOPTIONS", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:402:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_ARGOPTIONS, "ARGOPTIONS", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:403:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_BACKREFMAX, "BACKREFMAX", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:404:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_BSR, "BSR", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:405:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_CAPTURECOUNT, "CAPTURECOUNT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:407:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_FIRSTCODETYPE, "FIRSTCODETYPE", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:408:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_FIRSTCODEUNIT, "FIRSTCODEUNIT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:409:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_HASBACKSLASHC, "HASBACKSLASHC", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:410:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_HASCRORLF, "HASCRORLF", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:411:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_JCHANGED, "JCHANGED", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:412:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_JITSIZE, "JITSIZE", size_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:413:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_LASTCODETYPE, "LASTCODETYPE", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:414:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_LASTCODEUNIT, "LASTCODEUNIT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:415:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_MATCHEMPTY, "MATCHEMPTY", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:416:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_MATCHLIMIT, "MATCHLIMIT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:417:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_MAXLOOKBEHIND, "MAXLOOKBEHIND", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:418:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_MINLENGTH, "MINLENGTH", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:419:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_NAMECOUNT, "NAMECOUNT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:420:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_NAMEENTRYSIZE, "NAMEENTRYSIZE", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:422:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_NEWLINE, "NEWLINE", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:423:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_RECURSIONLIMIT, "RECURSIONLIMIT", uint32_t)
^
src/pcre2/lpcre2.c:391:34: error: ‘TPcre2 {aka struct <anonymous>}’ has no member named ‘pr’
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
^
src/pcre2/lpcre2.c:424:3: note: in expansion of macro ‘SET_INFO_FIELD’
SET_INFO_FIELD (L, ud, PCRE2_INFO_SIZE, "SIZE", size_t)
^
In file included from src/pcre2/lpcre2.c:10:0:
src/pcre2/lpcre2.c: In function ‘luaopen_rex_pcre2’:
src/pcre2/lpcre2.c:467:3: error: ‘pcre2_config_’ undeclared (first use in this function)
pcre2_config(PCRE2_CONFIG_VERSION, buf_ver);
^