ID:               31358
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hawk at pld-linux dot org
-Status:           Assigned
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: * (old gcc, 2.95.x)
 PHP Version:      5CVS, 4CVS (2005-06-19)
 Assigned To:      sniper
 New Comment:

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.




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

[2005-06-18 23:44:15] [EMAIL PROTECTED]

Try this patch please:
http://www.php.net/~jani/patches/bug31358.patch


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

[2005-02-07 10:14:28] [EMAIL PROTECTED]

I guess we need some autoconf-magic experts to make an autoconf resolve
these differences and try to find the right va_copy. 

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

[2005-01-04 16:02:48] [EMAIL PROTECTED]

va_copy is a C99 invention, so that's why it's not in gcc-2.95.2
(though some older gcc's had a __va_copy). But even in C99 va_copy is
explicitly allowed to be a function not a macro, I can't see any
guarantee that it is defined for the preprocessor as this code assumes.
(C99/7.15.1)

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

[2005-01-04 14:35:44] hawk at pld-linux dot org

According to 'gcc -v':
Reading specs from /usr/lib/gcc-lib/ppc-pld-linux/2.95.4/specs
gcc version 2.95.4 20010319 (prerelease)

And yes, there is stdarg.h in
/usr/lib/gcc-lib/ppc-pld-linux/2.95.4/include/stdarg.h

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

[2005-01-02 08:58:47] [EMAIL PROTECTED]

Which GCC do you have? It is rather strange va_copy is not defined on
Linux. Do you have stdarg.h anywhere?

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

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/31358

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

Reply via email to