Re: [pcre-dev] problem with _cdecl

Top Page
Delete this message
Author: Gabberworld
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] problem with _cdecl
im using the pcre 7.0

On Jan 24, 2008 7:01 PM, Philip Hazel <ph10@???> wrote:

> On Wed, 23 Jan 2008, Gabberworld wrote:
>
> > i try build pcre in _fastcall mode in visual studio but i get error
> because
> > off malloc and free.
> >
> >
> > 1>.\pcre_globals.c(75) : error C2440: 'initializing' : cannot convert
> from
> > 'void *(__cdecl *)(size_t)' to 'void *(__fastcall *)(size_t)'
> >
> > 1>.\pcre_globals.c(76) : error C2440: 'initializing' : cannot convert
> from
> > 'void (__cdecl *)(void *)' to 'void (__fastcall *)(void *)'
> >
> > 1>.\pcre_globals.c(77) : error C2440: 'initializing' : cannot convert
> from
> > 'void *(__cdecl *)(size_t)' to 'void *(__fastcall *)(size_t)'
> >
> > 1>.\pcre_globals.c(78) : error C2440: 'initializing' : cannot convert
> from
> > 'void (__cdecl *)(void *)' to 'void (__fastcall *)(void *)'
>
> Which version of PCRE? Recent releases have a pcre_globals.c that is
> only 63 lines long.
>
> However, whichever version you are using, I'm afraid I can't help you
> because I am not a Windows user. Maybe someone else on this list can -
> once we know which release you are using.
>
> Philip
>
> --
> Philip Hazel
>