[pcre-dev] [Bug 1830] pcre2posix defines the same names as P…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 1830] New: pcre2posix defines the same names as POSIX
Tárgy: [pcre-dev] [Bug 1830] pcre2posix defines the same names as POSIX
https://bugs.exim.org/show_bug.cgi?id=1830

--- Comment #27 from Philip Hazel <ph10@???> ---
(In reply to Petr Pisar from comment #23)
>
> C preprocessor works on tokens. Not on substrings. It does not turn
> pcre2_regcomp() into pcre2_pcre2_regcomp(). The preprocessor will see
> "pcre2_regcomp" token, not "pcre2" and "regcomp" tokens.


Of course it does. Silly me. Apologies for being so stupid and thank you for
being so patient with me!

> My patch uses #undef in the pcre2posix.c compilation unit.


Yes, I did at least understand that! OK, I've been thinking about this more and
your persistence is paying off. I will apply the patch and once 10.33 is
released we shall see if anybody complains! One good thing that has come out of
this is that I *think* I now fully understand what is happening so I ought to
be able to update the documentation to explain it clearly.

--
You are receiving this mail because:
You are on the CC list for the bug.