PHP 4.0 Bug #9361 Updated: C++ compiler causes failures
| From: | sas@php.net | Date: | Wed, 21 Feb 2001 07:33:48 +0000 |
| Subject: | PHP 4.0 Bug #9361 Updated: C++ compiler causes failures | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47124@lists.php.net to get a copy of this message | ||
ID: 9361
Updated by: sas
Reported By: amra@us.ibm.com
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Why would you want to compile a C program using a C++ compiler?
There are certain subtle differences in the languages; I don't think it is feasible (if
possible at all) to try to make PHP completely buildable using a C++ compiler.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-20 17:22:45] amra@us.ibm.com
When using a C++ compiler on OS/400, a lot of files fail to compile. (Note that my other bug
reports was using a C compiler.) Most of the failures has to do with returned pointers from
emalloc, erealloc, malloc and realloc. These functions are returning a void pointer and are not
being cast to the data type of the variable receiving the pointer. I hope that this can be changed.
Some of the code does cast, but most do not.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9361&edit=2