[pcre-dev] [Bug 2152] warning: "FWRITE" redefined ... error:…

Etusivu
Poista viesti
Lähettäjä: admin
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] [Bug 2152] warning: "FWRITE" redefined ... error: _O_BINARY undeclared
https://bugs.exim.org/show_bug.cgi?id=2152

--- Comment #6 from Philip Hazel <ph10@???> ---
(In reply to Will Braswell from comment #5)

> It would be beneficial to us all if we can find a good way to incorporate
> Reini's PCRE2 patches into your main PCRE2 code base, how can we best
> achieve this?


Am I right in thinking there are just two relevant patches? (From looking at
that web site.) The JIT one is for Zoltan to consider - I know he's away this
week, but I'll draw this to his attention. The other one, for pcre2grep, looks
as though I can easily install it, but I do not understand it! It ends up like
this:

+/* some cmake's define it still */
+#if defined(__CYGWIN__) && defined(WIN32)
#define WIN32
#endif

Why do you need to #define WIN32 if it's already defined? Should that really
read "&& !defined(WIN32)" ?
    ^
    ^


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