Re: [pcre-dev] Yet Another RC

Top Page
Delete this message
Author: Sheri
Date:  
To: Craig Silverstein
CC: pcre-dev
Subject: Re: [pcre-dev] Yet Another RC
(another duplicate, sorry)
Craig Silverstein wrote:
> } Since neither of the suggestions made a difference in
> } Msys/configure, I didn't see a point in trying CMake, but let me
> } know if you think it would help.
>
> No, that's ok. It sounds like the code that added #define HAVE_STRTOQ
> was in error. Try changing the code like this instead and see if it
> works:
>
> 1) Move the #ifdef HAVE_WINDOWS_H down past all the #includes, like
>    the second suggestion from last time.

>
> 2) Change the #ifdef HAVE_WINDOWS_H code to look like this:
>
>      #ifdef HAVE_WINDOWS_H
>      #define HAVE_STRTOLL 1
>      #define strtoll     _strtoui64
>      #define strtoull    _strtoi64
>      #endif

>
> If that works with msys/configure, try it with cmake as well.
>

Didn't work with msys/configure

/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../pcre-7.4-RC3     -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo
-c -o pcrecpp.lo ../pcre-7.4-RC3/pcrecpp.cc
g++ -DHAVE_CONFIG_H -I. -I../pcre-7.4-RC3 -O2 -MT pcrecpp.lo -MD -MP
-MF .deps/pcrecpp.Tpo -c ../pcre-7.4-RC3/pcrecpp.cc  -DDLL_EXPORT -DPIC
-o .libs/pcrecpp.o
../pcre-7.4-RC3/pcrecpp.cc: In static member function `static bool
pcrecpp::Arg::parse_longlong_radix(const char*, int, void*, int)':
../pcre-7.4-RC3/pcrecpp.cc:771: error: `_strtoui64' undeclared (first
use this function)
../pcre-7.4-RC3/pcrecpp.cc:771: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../pcre-7.4-RC3/pcrecpp.cc: In static member function `static bool
pcrecpp::Arg::parse_ulonglong_radix(const char*, int, void*, int)':
../pcre-7.4-RC3/pcrecpp.cc:798: error: `_strtoi64' undeclared (first use
this function)
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/c/pcre-7.4Edit/build3RC3Msys'
make: *** [all] Error 2


Regards,
Sheri