On 08/03/2023 11:16, Marc Mutz via Development wrote:

I assume they live in different "namespaces" and so it's ok to link both?

Well, they're C libraries, so no namespaces, but the functions have different names. For each XXX function in the library:

* PCRE1 uses pcre_XXX for the 8 bit version, pcre16_XXX for the 16 bit version, pcre32_XXX for the 32 bit version;

* PCRE2 uses pcre2_XXX_YY with Y being 8, 16, 32 for the various versions.

So no harm done at mixing and matching.


(Side note, PCRE1 has reached EOL for quite some time now.)


Thanks,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to