https://bugs.exim.org/show_bug.cgi?id=1830
--- Comment #20 from Philip Hazel <[email protected]> --- (In reply to Petr Pisar from comment #19) >> > > Note that the PCRE2 patch declares the POSIX functions as real functions. > > No. The PCRE2 patch removes the POSIX function declarations and replaces > them with macros. Though the definitions still exist. I'm sorry. I should have made it clear that I am talking about the code in the forthcoming 10.33. Its pcre2posix.h contains, for example, PCRE2POSIX_EXP_DECL int pcre2_regcomp(regex_t *, const char *, int); PCRE2POSIX_EXP_DECL int regcomp(regex_t *, const char *, int); Thus, regcomp() is a function, not a macro, and the .c file contains this: PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION regcomp(regex_t *preg, const char *pattern, int cflags) { return pcre2_regcomp(preg, pattern, cflags); } Apologies for the confusion. I've noticed that earlier in this thread there's a reference to loading the library from Python, and this is surely a case where a function is required. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
