I'm new to php-dev.

I noticed that compile cpp files raise some difficulties:
All functions declared in the Zend/zen_API.h files aren't declare as extern
"C", so gcc raise errro at link time when you try use these functions :
error like:  undefined function _array_init(...) etc.

Everything work fine when you add BEGIN_EXTERN_C() / END_EXTERN_C() macros
in zend_API.h.

If someone can modify this header in the cvs, I think that C++ developpers
will be  please :-)

N.B: I use php4.0.3pl1/linux

Eric CALLIER - Information Systems
Elf Trading SA
World Trade Center 1  Tel:   +41-22-710-12-77
Case postale 276      Fax:   +41-22-710-18-58
CH-1215 Geneva 15     Telex: 415 535 ets ch
Switzerland           Email: [EMAIL PROTECTED]

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to