PCRE v2 compile error, was Re: What's cooking in git.git (May 2017, #01; Mon, 1)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 2, 2017, 12:09 UTC
- Message-ID
- <alpine.DEB.2.20.1705021406510.3480@virtualbox>
- In-Reply-To
- <xmqqefw9gmvq.fsf@gitster.mtv.corp.google.com>
Hi Ævar,
On Sun, 30 Apr 2017, Junio C Hamano wrote:
Show 24 quoted lines
> * ab/grep-pcre-v2 (2017-04-25) 20 commits > - SQUASH??? > - Makefile & configure: make PCRE v2 the default PCRE implementation > - grep: remove support for concurrent use of both PCRE v1 & v2 > - grep: add support for PCRE v2 > - grep: add support for the PCRE v1 JIT API > - perf: add a performance comparison test of grep -E and -P > - grep: change the internal PCRE code & header names to be PCRE1 > - grep: change the internal PCRE macro names to be PCRE1 > - test-lib: rename the LIBPCRE prerequisite to PCRE > - grep: make grep.patternType=[pcre|pcre1] a synonym for "perl" > - grep & rev-list doc: stop promising libpcre for --perl-regexp > - log: add -P as a synonym for --perl-regexp > - log: add exhaustive tests for pattern style options & config > - grep: add a test for backreferences in PCRE patterns > - Makefile & configure: reword outdated comment about PCRE > - grep: remove redundant `regflags &= ~REG_EXTENDED` assignments > - grep: remove redundant regflags assignment under PCRE > - grep: submodule-related case statements should die if new fields are added > - grep: add tests for grep pattern types being passed to submodules > - grep: amend submodule recursion test in preparation for rx engine testing > > PCRE2, which has an API different from and incompatible with PCRE, > can now be chosen to support "grep -P -e '<pattern>'" and friends.
FWIW for quite a couple of recent builds, `pu` fails on Windows with a variation of this error:
CC blob.o In file included from revision.h:5:0, from bisect.c:4: grep.h:16:19: fatal error: pcre2.h: No such file or directory #include <pcre2.h> ^ compilation terminated.
Maybe this can be fixed before hitting `next`?
Ciao, Dscho