Re: [pcre-dev] pcrecpp_unittest failed in 7.2 on Mingw32

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: Sheri
CC: pcre-dev
Tárgy: Re: [pcre-dev] pcrecpp_unittest failed in 7.2 on Mingw32
On Thu, 5 Jul 2007, Sheri wrote:

> > > I download the pcre-7.2 on www.pcre.org and compiled on Mingw32+XP.
> > > After fixed a minor problem (replace dllimport with dllexport in
> > > pcreposix.h) now it works fine.
> > >
> >
> >
>
> > To others on this list: Is this an change that should be made to the base
> > source? By comparison with pcre.h, it might be that the correct change would
> > be to wrap this code in #ifndef PCRE_EXP_DECL instead. [As most of you know,
> > I have no way of testing Windows things.]
> >
> >
> Is there a copy of edited pcreposix.h file somewhere or one modified as you
> suggest Philip?


I don't have such. But it must be trivial to create them. For the first,
as he says, "replace dllimport with dllexport", and for the second,
compare with pcre.h and make it the same.

Philip

--
Philip Hazel, University of Cambridge Computing Service.