ID:               30948
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pauls at sellingsource dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.3.6
 PHP Version:      4.3.10RC1


Previous Comments:
------------------------------------------------------------------------

[2004-12-01 08:47:24] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of bug #30927.

------------------------------------------------------------------------

[2004-11-30 23:55:09] pauls at sellingsource dot com

Description:
------------
It appears there is an uncommented comment at line 228 and 229 of
/php-5.0.3RC1/Zend/zend_strtod.c.  This error occurs for me in both
php-5.0.3RC1 and php-4.3.10RC1.

The fix is to comment those two lines of code.

Reproduce code:
---------------
./configure --with-xml --with-zlib --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-mysql=/usr/local/mysql
--with-apxs2=/usr/local/apache2/bin/apxs --enable-wddx --enable-soap

make

gcc  -IZend/ -I/php-5.0.3RC1/Zend/ -DPHP_ATOM_INC
-I/php-5.0.3RC1/include -I/php-5.0.3RC1/main -I/php-5.0.3RC1
-I/php-5.0.3RC1/Zend -I/usr/include/libxml2 -I/usr/local/include
-I/usr/local/mysql/include  -no-cpp-precomp -I/php-5.0.3RC1/TSRM  -g
-O2  -c /php-5.0.3RC1/Zend/zend_strtod.c -o Zend/zend_strtod.o  && echo
> Zend/zend_strtod.lo
/php-5.0.3RC1/Zend/zend_strtod.c:228: error: parse error before "one"
/php-5.0.3RC1/Zend/zend_strtod.c:229: error: parse error before "IBM"
/php-5.0.3RC1/Zend/zend_strtod.c:235: error: parse error before '}'
token
/php-5.0.3RC1/Zend/zend_strtod.c:235: warning: data definition has no
type or storage class
/php-5.0.3RC1/Zend/zend_strtod.c: In function `ulp':
/php-5.0.3RC1/Zend/zend_strtod.c:923: error: parse error before "x"
/php-5.0.3RC1/Zend/zend_strtod.c:925: error: parse error before "a"
/php-5.0.3RC1/Zend/zend_strtod.c:927: error: `x' undeclared (first use
in this function)
/php-5.0.3RC1/Zend/zend_strtod.c:927: error: (Each undeclared
identifier is reported only once
/php-5.0.3RC1/Zend/zend_strtod.c:927: error: for each function it
appears in.)
/php-5.0.3RC1/Zend/zend_strtod.c:935: error: `a' undeclared (first use
in this function)
/php-5.0.3RC1/Zend/zend_strtod.c: In function `b2d':
/php-5.0.3RC1/Zend/zend_strtod.c:965: error: parse error before "d"
/php-5.0.3RC1/Zend/zend_strtod.c:983: error: `d' undeclared (first use
in this function)
/php-5.0.3RC1/Zend/zend_strtod.c: In function `d2b':
/php-5.0.3RC1/Zend/zend_strtod.c:1036: error: parse error before "d"
/php-5.0.3RC1/Zend/zend_strtod.c:1041: error: `d' undeclared (first use
in this function)
/php-5.0.3RC1/Zend/zend_strtod.c: In function `ratio':
/php-5.0.3RC1/Zend/zend_strtod.c:1167: error: parse error before "da"
/php-5.0.3RC1/Zend/zend_strtod.c:1170: error: `da' undeclared (first
use in this function)
/php-5.0.3RC1/Zend/zend_strtod.c:1171: error: `db' undeclared (first
use in this function)
/php-5.0.3RC1/Zend/zend_strtod.c: In function `zend_strtod':
/php-5.0.3RC1/Zend/zend_strtod.c:1238: error: parse error before "rv"
/php-5.0.3RC1/Zend/zend_strtod.c:1247: error: `rv' undeclared (first
use in this function)
/php-5.0.3RC1/Zend/zend_strtod.c:1480: error: `rv0' undeclared (first
use in this function)
make: *** [Zend/zend_strtod.lo] Error 1




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30948&edit=1

Reply via email to