|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patches78102.patch (last revision 2019-06-03 22:35 UTC by petk@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-06-03 20:32 UTC] petk@php.net
[2019-06-03 22:35 UTC] petk@php.net
[2019-06-04 05:49 UTC] dams@php.net
[2019-06-04 15:21 UTC] petk@php.net
[2019-06-05 08:06 UTC] nikic@php.net
[2019-06-05 08:06 UTC] nikic@php.net
-Status: Open
+Status: Closed
[2019-06-07 20:35 UTC] dams@php.net
-Assigned To:
+Assigned To: dams
[2019-06-07 20:35 UTC] dams@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 19:00:01 2025 UTC |
Description: ------------ I'm building PHP 7.4 from the git repository : fresh clone, and short compilation script (see below). I've been bumping the following error message for 3 weeks now : /Users/php/bin/php-src/Zend/zend_language_parser.h:205:2: error: #endif without #if #endif /* !YY_ZEND_USERS_php_BIN_PHP_SRC_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED */ I tried to disable all extensions, buildconf --force, make clean, script/dev/genfiles without success. I also tried to build right after a clone. PHP 7.3.6 builds (simple checkout), but 7.4 can't pass make. I'm using bison 3.4.1, OSX Mojave Test script: --------------- git checkout PHP-7.4; git pull make clean ./buildconf --force env YACC=`brew --prefix bison`/bin/bison ./configure \ --disable-all make -j`sysctl -n hw.logicalcpu_max` make test Expected result: ---------------- Compilation succeed :) Actual result: -------------- In file included from /Users/php/bin/php-src/Zend/zend_ast.c:23: /Users/php/bin/php-src/Zend/zend_language_parser.h:53:18: warning: extra tokens at end of #include directive [-Wextra-tokens] #include "zend.h"#ifndef YYTOKENTYPE ^ // /Users/php/bin/php-src/Zend/zend_language_parser.h:205:2: error: #endif without #if #endif /* !YY_ZEND_USERS_php_BIN_PHP_SRC_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED */ ^ 1 warning and 1 error generated. make: *** [Zend/zend_ast.lo] Error 1