[pcre-dev] [Bug 569] Error in definition of PCREPOSIX_EXP_DE…

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 569] Error in definition of PCREPOSIX_EXP_DEFN macro
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #1 from Philip Hazel <ph10@???> 2007-07-26 16:26:08 ---
On Thu, 26 Jul 2007, Samit Basu wrote:

> Thanks for an amazingly powerful and easy to use library. I have noted the
> following bug in the 7.2 header files:
>
> In the file pcreposix.h, the macro definition
> #    define PCREPOSIX_EXP_DEFN  __declspec(dllimport)
> should likely be:
> #    define PCREPOSIX_EXP_DEFN  __declspec(dllexport)
> With the current definition of the macro, the mingw-gcc compiler refuses to
> compile pcre (as function definitions such as regerror, are tagged with
> dllimport).


Thanks for the report - but this has already been reported and is on the
list to be fixed. The fix isn't quite as simple as you suggest because
the header is used both when building PCRE and when using PCRE. However,
we know how to fix it - it should be the same as pcre.h. I'll close this
when I've fixed it in SVN (probably next week).

Philip


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