#37647 [Bgs]: can't compile with latest gcc

From: Date: Wed, 31 May 2006 09:53:47 +0000
Subject: #37647 [Bgs]: can't compile with latest gcc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97852@lists.php.net to get a copy of this message
 ID:               37647
 Updated by:       derick@php.net
 Reported By:      jtzhou at hotmail dot com
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux
 PHP Version:      5.1.4
 New Comment:

No idea what you're talking about:

derick@kossu:/dat/dev/php/php-5.2dev$ grep -r _pure_virtual *
derick@kossu:/dat/dev/php/php-5.2dev$ grep -r __cxa_pure_virtual *
derick@kossu:/dat/dev/php/php-5.2dev$



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

[2006-05-31 09:46:31] jtzhou at hotmail dot com

Hi, Tony,

seems to me they are widely used as a return type "innocently".
------
extern "C" void __cxa_pure_virtual(); 
extern "C" void _pure_virtual(void); 
------
Regards,
JT

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

[2006-05-31 08:42:35] tony2001@php.net

PHP is written in C and it doesn't use any "__pure_virtual" and other
C++ thingies.

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

[2006-05-31 03:20:27] jtzhou at hotmail dot com

Description:
------------
the Php 5.1.4 can only be compiled with gcc 2.9.5 or older, now gcc
goes to 4.x.x... main problem is php use a lot of _pure_virtual alike
which changed into ctx_pure_virtual in latest gcc. Any plan to upgrade
Php to accomend these changes in gcc?




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


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


Thread (4 messages)

« previous php.bugs (#97852) next »