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
Craig Silverstein wrote:
> In that case, msys should define strtoll itself. Try this: remove the
> "#ifdef HAVE_WINDOWS_H" stuff entirely, and see if the code then
> compiles under msys/configure. If so, I think we'll just add a test
> for _strtoi64 in configure, and solve the problem that way.
>
>
>

Much better, but its only been removed from pcrecpp.cc.

g++ -DHAVE_CONFIG_H -I. -I../pcre-7.4-RC3     -O2 -MT pcrecpp_unittest.o 
-MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o 
../pcre-7.4-RC3/pcrecpp_unittest.cc
In file included from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++locale.h:43,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:70,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/vector:67,
                 from ../pcre-7.4-RC3/pcrecpp_unittest.cc:46:
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdio:167: 
error: `::snprintf' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdio:177: 
error: `__gnu_cxx::snprintf' has not been declared
In file included from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:70,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/vector:67,
                 from ../pcre-7.4-RC3/pcrecpp_unittest.cc:46:
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++locale.h: 
In function `int std::__convert_from_v(char*, int, const char*, _Tv, 
int* const&, int)':
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++locale.h:68: 
error: `snprintf' is not a member of `std'
../pcre-7.4-RC3/pcrecpp_unittest.cc: In function `int main(int, char**)':
../pcre-7.4-RC3/pcrecpp_unittest.cc:931: error: `snprintf' undeclared 
(first use this function)
../pcre-7.4-RC3/pcrecpp_unittest.cc:931: error: (Each undeclared 
identifier is reported only once for each function it appears in.)
make[1]: *** [pcrecpp_unittest.o] Error 1
make[1]: Leaving directory `/c/pcre-7.4Edit/build5RC3Msys'
make: *** [all] Error 2



Regards,
Sheri