Bug #79159 [Opn->Csd]: end_language_parser.y:45.1-12: warning: POSIX Yacc does not support %pure-parse
Edit report at https://bugs.php.net/bug.php?id=79159&edit=1
ID: 79159
Updated by: nikic@php.net
Reported by: bugreports at gmaill dot com
Summary: end_language_parser.y:45.1-12: warning: POSIX Yacc
does not support %pure-parse
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Warning
PHP Version: 7.3Git-2020-01-23 (Git)
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Closing this as 7.3 is not supported, while the issue does not exist in 7.4.
Previous Comments:
------------------------------------------------------------------------
[2020-06-13 08:23:50] nikic@php.net
Related To: Bug #79697
------------------------------------------------------------------------
[2020-06-01 20:04:42] izorkin at gmail dot com
After running the command "genfiles", the error is returned.
Building php from github source.
------------------------------------------------------------------------
[2020-06-01 15:55:34] izorkin at gmail dot com
With AC_CHECK_PROG(YACC, bison, bison) fixed this issue.
Thanks.
------------------------------------------------------------------------
[2020-01-23 13:34:51] nikic@php.net
Ah, I think this is because 7.3 uses AC_PROG_YACC, while 7.4 uses AC_CHECK_PROG(YACC, bison, bison).
Does replacing AC_PROG_YACC in acinclude.m4 with AC_CHECK_PROG(YACC, bison, bison) fix this issue?
------------------------------------------------------------------------
[2020-01-23 13:31:53] nikic@php.net
Not obvious to me what the difference is. In 7.3 "genfiles" passes the -y flag, which
might cause this. But normal "make" should not be using "genfiles".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79159
--
Edit this bug report at https://bugs.php.net/bug.php?id=79159&edit=1
Thread (2 messages)