php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37647 can't compile with latest gcc
Submitted: 2006-05-31 03:20 UTC Modified: 2006-05-31 09:53 UTC
From: jtzhou at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
 [2006-05-31 03:20 UTC] 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?



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-31 08:42 UTC] tony2001@php.net
PHP is written in C and it doesn't use any "__pure_virtual" and other C++ thingies.
 [2006-05-31 09:46 UTC] 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 09:53 UTC] derick@php.net
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$

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 20:00:03 2025 UTC