[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
Tárgy: [pcre-dev] [Bug 1830] pcre2posix defines the same names as POSIX
https://bugs.exim.org/show_bug.cgi?id=1830

--- Comment #5 from Pascal MALAISE <malaise@???> ---
I don't face the issue if I install PCRE myself (in /usr/local for example).
Still this "packaging" of the API is important when PCRE is installed as part
of a distrib, otherwise we compile with pcreposix and (may) link with POSIX.
Would it be possible to make this "trick" part of the official PCRE delivery?

Side question: At present, the workaround I have found is to "embed" pcre2posix
sources (.h and .c) in my code. When doing this I have been surprised to see
that pcre2posix source relies on some internal data of PCRE2
(pcre2_real_code_8, pcre2_real_match_data). Is it simply a matter of
optimization? Is there any way to re-implement pcre2posix on top of the public
API of PCRE2? This would make my workaround less nasty.

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