Philip Hazel wrote:
> I've replaced -RC2 with -RC3.
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.4-RC3.tar.gz
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.4-RC3.tar.bz2
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.4-RC3.zip
>
> The only code change is the ANY/ANYCRLF thing in pcrecpp.cc. The other
> changes are to the documentation, the test files, and RunTest.bat.
>
> I'm planning to release this at the end of the week.
>
> Philip
>
>
I've again "touched" the file dates so I wouldn't have to wait past noon.
It compiles in Msys if configured with CMake, but not if configured with
configure. During configure, I see this:
checking windows.h presence... yes
checking for windows.h... yes
If configured with CMake, pcrecpp library gets named mingw-pcrecpp.dll
and all the associated unittests work ok.
BTW, I have altered the CMake files so all the newlines and bsr options
are available. I've used to build in Msys and Visual Studio 2005. Could
send my version, but need to decide if my defaults would be ok for
inclusion. I don't use stack for recursion and believe that is for the
best on Windows. I also use newline of ANYCRLF and the new BSR-ANYCRLF,
and enable utf8 and unicode properties (those are off by default in
"configure"). Personally I think all my settings are for the best on
Windows, and user could easily change them from the Cmakesetup gui if
desired.
When making using the Makefile from "configure" (as opposed to CMake) I
get this:
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
In file included from
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:67,
from
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
from
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47,
from ../pcre-7.4-RC3/pcrecpp.cc:48:
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:177:
error: `::strtoll' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:178:
error: `::strtoull' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:198:
error: `__gnu_cxx::strtoll' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:199:
error: `__gnu_cxx::strtoull' has not been declared
../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:770: error: `strtoq' undeclared (first use
this function)
../pcre-7.4-RC3/pcrecpp.cc:770: 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:797: error: `strtouq' undeclared (first use
this function)
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/c/pcre-7.4/buildRC3Msys'
make: *** [all] Error 2
During configuration, I see this scroll by:
checking windows.h presence... yes
checking for windows.h... yes
Regards,
Sheri
Regards,
Sheri