Bug #65533 [NEW]: Unterminated #ifndef in Zend/zend_language_parser.(h|c)
| From: | fk at florian-kaiser dot net | Date: | Fri, 23 Aug 2013 11:30:59 +0000 |
| Subject: | Bug #65533 [NEW]: Unterminated #ifndef in Zend/zend_language_parser.(h|c) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-181141@lists.php.net to get a copy of this message | ||
From: fk at florian-kaiser dot net
Operating system: Debian 7
PHP version: 5.4.19
Package: Compile Failure
Bug Type: Bug
Bug description:Unterminated #ifndef in Zend/zend_language_parser.(h|c)
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 bug report at https://bugs.php.net/bug.php?id=65533&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65533&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65533&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65533&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65533&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65533&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65533&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65533&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65533&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65533&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65533&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65533&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65533&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65533&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65533&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65533&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65533&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65533&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65533&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65533&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65533&r=mysqlcfg