[pcre-dev] [Bug 1049] Add support for UTF-16

Top Page
Delete this message
Author: Zoltan Herczeg
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 1049] New: Add support for UTF-16
Subject: [pcre-dev] [Bug 1049] Add support for UTF-16
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1049




--- Comment #59 from Zoltan Herczeg <hzmester@???> 2012-01-13 05:04:17 ---
(In reply to comment #58)
> > The easiest (albeit not entirely correct) workaround is simply rename pcre.h.in
> to pcre.h.generic
>
> What is the proper solution?


Use a tool which is able to handle macro expansions like below:

#define PCRE_MAJOR          @PCRE_MAJOR@


"configure" replace @PCRE_MAJOR@ to a valid number. If you rename pcre.h.in to
pcre.h.generic you don't have proper version numbers, but it does not affect
testing.

>
> > I have just landed the cmake and RunTest.bat for Windows support in PCRE.
>
> I just tried it out. It works for in-source builds, but not out of source.
> Patch attached.
>


Thanks. Landed as
http://www.exim.org/lurker/message/20120113.045856.d8b15ec4.en.html


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email