Bug #17851: Missing condition to #elif preprocessor instruction.
| From: | webmaster at ttw-tool dot de | Date: | Wed, 19 Jun 2002 18:46:50 +0000 |
| Subject: | Bug #17851: Missing condition to #elif preprocessor instruction. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11447@lists.php.net to get a copy of this message | ||
From: webmaster@ttw-tool.de
Operating system: Linux 2.4.17
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: Missing condition to #elif preprocessor instruction.
Version: 4.3.0-dev-zend2-alpha1
'./configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local'
'--enable-versioning' '--with-apxs=/usr/local/apache/bin/apxs'
'--without-pear'
PHP-API: 20020307
PHP-Ext.API: 20010927
Zend-API: 20010710
IMHO the #elif instruction is lacking a condition.
file: sapi/apache/php_apache.c, lines 182-193:
#ifdef PHP_WIN32
php_info_print_table_row(1, "Apache for Windows 95/NT");
php_info_print_table_end();
php_info_print_table_start();
#elif
php_info_print_table_row(1, "Apache for NetWare");
php_info_print_table_end();
php_info_print_table_start();
#else
php_info_print_table_row(2, "APACHE_INCLUDE", PHP_APACHE_INCLUDE);
php_info_print_table_row(2, "APACHE_TARGET", PHP_APACHE_TARGET);
#endif
Managed to compile by deleting lines 182-190 and 193 because OS=Linux.
--
Edit bug report at http://bugs.php.net/?id=17851&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17851&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17851&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17851&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17851&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17851&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17851&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17851&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17851&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17851&r=globals