ID: 31249
Updated by: [EMAIL PROTECTED]
Reported By: long+phpbugs at kestrel dot cc dot ku dot edu
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Tru64 4.0F
PHP Version: 4CVS-2004-12-22 (stable)
-Assigned To: magnus
+Assigned To: sniper
Previous Comments:
------------------------------------------------------------------------
[2005-01-24 18:12:13] long+phpbugs at kestrel dot cc dot ku dot edu
With php4-STABLE-200501241530 I now get:
cc -IZend/ -I/homeb/long/src/php4-STABLE-200501241530/Zend/
-DPHP_ATOM_INC -I/homeb/long/src/php4-STABLE-200501241530/include
-I/homeb/long/src/php4-STABLE-200501241530/main
-I/homeb/long/src/php4-STABLE-200501241530
-I/homeb/long/src/php4-STABLE-200501241530/Zend
-I/homeb/long/src/php4-STABLE-200501241530/ext/xml/expat
-I/homeb/long/src/php4-STABLE-200501241530/TSRM -g -c
/homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c -o
Zend/zend_strtod.o && echo > Zend/zend_strtod.lo
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 492: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long x, y;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 851: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long borrow, y; /* We need signed shifts here. */
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 854: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long z;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 932: Missing ";". (nosemi)
register Long L;
----------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 1247: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long L;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 412: In this statement, "int32_t" is not declared. (undeclared)
rv = (Bigint *)MALLOC(sizeof(Bigint) +
(x-1)*sizeof(Long));
--------------------------------------------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 472: In this statement, "int32_t" is not declared. (undeclared)
Bcopy(b1, b);
------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 494: In this statement, "x" is not declared. (undeclared)
x = (nd + 8) / 9;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 495: In this statement, "y" is not declared. (undeclared)
for(k = 0, y = 1; x > y; y <<= 1, k++) ;
-------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 881: In this statement, "borrow" is not declared. (undeclared)
borrow = 0;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 884: In this statement, "y" is not declared. (undeclared)
y = (*xa & 0xffff) - (*xb & 0xffff) + borrow;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 887: In this statement, "z" is not declared. (undeclared)
z = (*xa++ >> 16) - (*xb++ >> 16) + borrow;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 894: In this statement, "y" is not declared. (undeclared)
y = (*xa & 0xffff) + borrow;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 897: In this statement, "z" is not declared. (undeclared)
z = (*xa++ >> 16) + borrow;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 936: In this statement, "L" is not declared. (undeclared)
L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 1337: In this statement, "L" is not declared. (undeclared)
L = c - '0';
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 1518: In this statement, "int32_t" is not declared. (undeclared)
Bcopy(bd, bd0);
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 1616: In this statement, "L" is not declared. (undeclared)
L = (word0(rv) & Exp_mask) - Exp_msk1;
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501241530/Zend/zend_strtod.c,
line 1749: In this statement, "L" is not declared. (undeclared)
L = aadj;
------------------------^
*** Exit 1
Stop.
------------------------------------------------------------------------
[2005-01-22 21:33:17] [EMAIL PROTECTED]
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Try a snapshot in couple of hours from now.
------------------------------------------------------------------------
[2005-01-22 20:15:22] [EMAIL PROTECTED]
Where is uint32_t defined in your system?
------------------------------------------------------------------------
[2005-01-20 19:15:07] long+phpbugs at kestrel dot cc dot ku dot edu
I'm getting the following error with php4-STABLE-200501201730:
cc -IZend/ -I/homeb/long/src/php4-STABLE-200501201730/Zend/
-DPHP_ATOM_INC -I/homeb/long/src/php4-STABLE-200501201730/include
-I/homeb/long/src/php4-STABLE-200501201730/main
-I/homeb/long/src/php4-STABLE-200501201730
-I/homeb/long/src/php4-STABLE-200501201730/Zend
-I/homeb/long/src/php4-STABLE-200501201730/ext/xml/expat
-I/homeb/long/src/php4-STABLE-200501201730/TSRM -g -c
/homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c -o
Zend/zend_strtod.o && echo > Zend/zend_strtod.lo
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 234: Missing type specifier or type qualifier. (missingtype)
ULong ul[2];
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 381: Missing type specifier or type qualifier. (missingtype)
ULong x[1];
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 440: Missing ";". (nosemi)
ULong xi, z;
--------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 479: Ill-formed parameter type list. (parmtyplist)
(CONST char *s, int nd0, int nd, ULong y9)
-----------------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 484: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long x, y;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 517: Error parsing parameter list. Found "x" when expecting one of:
",", ")". (notexpecting)
(register ULong x)
------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 551: Error parsing parameter list. Found "*" when expecting one of:
",", ")". (notexpecting)
(ULong *y)
---------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 555: Missing ";". (nosemi)
register ULong x = *y;
-----------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 620: In this declaration, "uint32_t" must specify a type.
(badparsedecl)
ULong carry, y, z;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 623: Missing ";". (nosemi)
ULong z2;
--------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 808: Invalid statement. (badstmt)
int i, j;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 843: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long borrow, y; /* We need signed shifts here. */
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 846: Missing ";". (nosemi)
Long z;
-------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 924: Missing ";". (nosemi)
register Long L;
----------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 964: Invalid statement. (badstmt)
int k;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 965: Missing ";". (nosemi)
_double d;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1036: Missing ";". (nosemi)
_double d;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1239: In this declaration, "int32_t" must specify a type.
(badparsedecl)
Long L;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1240: In this declaration, "uint32_t" must specify a type.
(badparsedecl)
ULong y, z;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 928: In this statement, "L" is not declared. (undeclared)
L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1272: In this statement, "y" is not declared. (undeclared)
y = z = 0;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1272: In this statement, "z" is not declared. (undeclared)
y = z = 0;
------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1329: In this statement, "L" is not declared. (undeclared)
L = c - '0';
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1608: In this statement, "L" is not declared. (undeclared)
L = (word0(rv) & Exp_mask) - Exp_msk1;
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200501201730/Zend/zend_strtod.c,
line 1741: In this statement, "L" is not declared. (undeclared)
L = aadj;
------------------------^
*** Exit 1
Stop.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31249
--
Edit this bug report at http://bugs.php.net/?id=31249&edit=1