Bug #69883 [Opn]: Compilation failed on PCRE

From: Date: Fri, 19 Jun 2015 12:26:04 +0000
Subject: Bug #69883 [Opn]: Compilation failed on PCRE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193689@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69883&edit=1 ID: 69883 User updated by: jbenoit dot jb at gmail dot com Reported by: jbenoit dot jb at gmail dot com -Summary: Compilation failed on undeclared +Summary: Compilation failed on PCRE Status: Open Type: Bug Package: PCRE related Operating System: OS X 10.10 PHP Version: 7.0Git-2015-06-19 (Git) Block user comment: N Private report: N New Comment: Title more comprehensive, I hope ... Previous Comments: ------------------------------------------------------------------------ [2015-06-19 12:25:24] jbenoit dot jb at gmail dot com Description: ------------ The compilation of PHP sources stopped on PCRE. With the following error message : php_pcre.c:1085:78: error: use of undeclared identifier 'use_heap' (see below for the full message) I tried with the PCRE installed by default on my computer and another version (PCRE 8.37) I installed via Homebrew: Same result. I did not find any solutions on Google, so I think this is a bug. I open the file php_pcre.c, at line 1085. I did not find out where "use_heap" variable is declared. But since I am not a C developer, maybe I am wrong. Test script: --------------- git clone git@git.php.net:php-src.git cd php-src ./buildconf ./configure make Expected result: ---------------- A compilation without errors. Actual result: -------------- php-src/ext/pcre/php_pcre.c:1085:78: error: use of undeclared identifier 'use_heap' offsets = (int *)do_alloca_ex(size_offsets * sizeof(int), 32 * sizeof(int), use_heap); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69883&edit=1

« previous php.bugs (#193689) next »