|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-06-19 12:26 UTC] jbenoit dot jb at gmail dot com
-Summary: Compilation failed on undeclared
+Summary: Compilation failed on PCRE
[2015-06-19 12:26 UTC] jbenoit dot jb at gmail dot com
[2015-06-19 12:36 UTC] laruence@php.net
[2015-06-19 12:36 UTC] laruence@php.net
-Status: Open
+Status: Closed
[2015-06-19 13:23 UTC] cmb@php.net
-Status: Closed
+Status: Re-Opened
-Assigned To:
+Assigned To: laruence
[2015-06-19 13:23 UTC] cmb@php.net
[2015-06-19 13:46 UTC] laruence@php.net
[2015-06-19 13:46 UTC] laruence@php.net
-Status: Re-Opened
+Status: Closed
[2015-06-19 14:39 UTC] jbenoit dot jb at gmail dot com
[2015-06-23 18:04 UTC] ab@php.net
[2016-07-20 11:38 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 00:00:01 2025 UTC |
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);