Author: Craig Silverstein
Date:
To: ph10
CC: pcre-dev
Subject: Re: [pcre-dev] PCRE release 7.5
OK, here's my patch to fix the unprotected 'long long' test in
pcrecpp_unittest.cc.
craig
--cut here--
Index: pcrecpp_unittest.cc
===================================================================
--- pcrecpp_unittest.cc (revision 299)
+++ pcrecpp_unittest.cc (working copy)
@@ -879,7 +879,9 @@
CHECK(RE("h(.*)o").FullMatch("hello", (string*)NULL));
CHECK(RE("h(.*)o").FullMatch("hello", (StringPiece*)NULL));
CHECK(RE("(.*)").FullMatch("1234", (int*)NULL));
+#ifdef HAVE_LONG_LONG
CHECK(RE("(.*)").FullMatch("1234567890123456", (long long*)NULL));
+#endif
CHECK(RE("(.*)").FullMatch("123.4567890123456", (double*)NULL));
CHECK(RE("(.*)").FullMatch("123.4567890123456", (float*)NULL));