[pcre-dev] [Bug 569] New: Error in definition of PCREPOSIX_E…

Góra strony
Delete this message
Autor: Samit Basu
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 569] New: 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
           Summary: Error in definition of PCREPOSIX_EXP_DEFN macro
           Product: PCRE
           Version: 7.2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: basu@???
                CC: pcre-dev@???



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).


Samit


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