Bug #17851 Updated: Missing condition to #elif preprocessor instruction.

From: Date: Wed, 19 Jun 2002 19:02:53 +0000
Subject: Bug #17851 Updated: Missing condition to #elif preprocessor instruction.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11450@lists.php.net to get a copy of this message
ID: 17851 Updated by: hholzgra@php.net Reported By: webmaster@ttw-tool.de -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.17 PHP Version: 4.3.0-dev New Comment: reads like this in CVS: #elif defined(NETWARE) please check that your CVS is up-to-date and unmodified Previous Comments: ------------------------------------------------------------------------ [2002-06-19 14:48:03] webmaster@ttw-tool.de 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. ------------------------------------------------------------------------ [2002-06-19 14:46:49] webmaster@ttw-tool.de 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 this bug report at http://bugs.php.net/?id=17851&edit=1

« previous php.bugs (#11450) next »