Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Antony Dovgal
On 01/23/2007 06:07 PM, Caroline Maynard wrote: I hit some problems compiling a C++ extension in a non-threaded environment, because of some missing extern C declarations. Looks like this was previously fixed for threaded mode only. Please would someone with karma apply the following patch?

Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Caroline Maynard
Antony Dovgal wrote: On 01/23/2007 06:07 PM, Caroline Maynard wrote: I hit some problems compiling a C++ extension in a non-threaded environment, because of some missing extern C declarations. Looks like this was previously fixed for threaded mode only. Please would someone with karma apply

Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Antony Dovgal
On 02/07/2007 09:53 PM, Caroline Maynard wrote: Also, how to reproduce it? I compile C++ extensions quite often and do not see any problems. Well you need to have an extension which references CG() or EG() from C++ and build it with --disable-zts. So, compiling the sdo extension, which

[PHP-DEV] C++ in non-threaded PHP

2007-01-23 Thread Caroline Maynard
I hit some problems compiling a C++ extension in a non-threaded environment, because of some missing extern C declarations. Looks like this was previously fixed for threaded mode only. Please would someone with karma apply the following patch? Index: zend_globals_macros.h