Date: 10/26/99
- Next message: chris <email protected>: "[PHP-DEV] PHP 4.0 Bug #2612: Session Variables only work in IE"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: zend_hash_sort_ex()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: anand_palaniswamy <email protected>
Operating system: SunOS 5.6
PHP version: 3.0.10
PHP Bug Type: Compile Failure
Bug description: gcc-2.95.1's libstdc++'s alloc.h conflicts with php's alloc.h
Can't include:
#include <string>
in php/functions/foo.cc because <string> in libstdc++ distributed with
gcc-2.95.1 includes an alloc.h. Since php distribution includes an
alloc.h, and compiling foo.cc required -Iphp in the compile command
line <string> ends up including php's alloc.h. Which gets it awfully
confused about the class alloc.
One solution would be to rename alloc.h to phpalloc.h. Otherwise
writing php functions in C++ involves solving a minor inconvenience.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: chris <email protected>: "[PHP-DEV] PHP 4.0 Bug #2612: Session Variables only work in IE"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: zend_hash_sort_ex()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

