Re: [pcre-dev] Mingw Memory mismatch problem

Startseite
Nachricht löschen
Autor: Bob Rossi
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] Mingw Memory mismatch problem
On Wed, Apr 04, 2007 at 03:24:32PM +0100, Philip Hazel wrote:
> On Wed, 4 Apr 2007, Bob Rossi wrote:
>
> > An hour!??! Make it 45 minutes!!!
> >
> > Can't wait to test it out. :)
>
> OK, I've put what I have done in
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.1-RC4.tar.gz
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.1-RC4.tar.bz2
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.1-RC4.zip
>
> Part of the problem seemed to be that we were using a single macro,
> PCRE_DATA_SCOPE for everything. I have now created three different
> macros:
>
> PCRE_EXP_DECL       for declarations
> PCRE_EXP_DEFN       for function definitions
> PCRE_EXP_DATA_DEFN  for variable definitions such as pcre_malloc.


And now I believe I understand why we had to go from 1 #define in
pcre-7.0 to 3 in pcre-7.1. It's because we went from 1 dll to 3.

Bob Rossi