Bug #65533 [Opn->Fbk]: Unterminated #ifndef in Zend/zend_language_parser.(h|c)
| From: | aharvey@php.net | Date: | Fri, 23 Aug 2013 21:16:03 +0000 |
| Subject: | Bug #65533 [Opn->Fbk]: Unterminated #ifndef in Zend/zend_language_parser.(h|c) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181148@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65533&edit=1
ID: 65533
Updated by: aharvey@php.net
Reported by: fk at florian-kaiser dot net
Summary: Unterminated #ifndef in
Zend/zend_language_parser.(h|c)
-Status: Open
+Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: Debian 7
PHP Version: 5.4.19
Block user comment: N
Private report: N
New Comment:
Those are correct as they are â they're header include guards with matching
#endif statements at the end of the files. (They're also generated files that
don't exist in Git.)
How are you compiling this, exactly (ie what commands, are there any additional
files to do with the packaging, etc)?
Previous Comments:
------------------------------------------------------------------------
[2013-08-23 11:30:59] fk at florian-kaiser dot net
Description:
------------
When trying to compile the just released version 5.4.19 we get the following errors on make:
/tmp/php5.4-5.4.18/Zend/zend_language_parser.h:33:0: error: unterminated #ifndef
[ ... ]
/tmp/php5.4-5.4.18/Zend/zend_language_parser.y:66:0: error: unterminated #ifndef
make[1]: *** [Zend/zend_language_parser.lo] Error 1
The errors itself only seem to turn up using the debian packacking mechanisms, not for simple
./configure && make.
Still, the code clearly suffers from 2 missing closing tags for #ifdef, so I guess its not
nescessarily reproducable.
I attached a patch that adds both missing endifs.
Expected result:
----------------
Compile finishes without error.
Actual result:
--------------
Compile stops and errors out.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65533&edit=1