On Thu, 29 Jan 2026, Adriaan van Os via fpc-devel wrote:

Michael Van Canneyt wrote:

Any clues ?

Yes, there is no libpcre2_16 on mac. On mac, libpcre2_8 must be used. I never got around to correcting the sources for unicodertl.

Can I help ? What needs to be done ? Undefine USEWIDESTRING if DARWIN is defined in packages/vcl-compat/src/system.regularexpressionscore.pp ? And possibly in other places in the code ?

That, plus you'll need to convert the UTF16 strings to UTF8 and vice versa when 
calling the libpcre functions.

Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to