[PHP-DEV] C++ in extension?

2001-11-28 Thread Lars Knudsen
Hello everyone. Can anybody tell me why I get an Call to undefined function when compiling a module using a C++ compiler (made a small test - it works fine when renaming the extension to *.c ... ). There are no make errors. The *only* error is that PHP seams unable to find the function when

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Stanislav Malyshev
LK Can anybody tell me why I get an Call to undefined function LK when compiling a module using a C++ compiler (made a small test LK - it works fine when renaming the extension to *.c ... ). There LK are no make errors. The *only* error is that PHP seams unable LK to find the function when

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Lars Knudsen
I tried it but it still doesn't work. Do you have an example (just a small one :-)? - Lars Stanislav Malyshev [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... LK Can anybody tell me why I get an Call to undefined function LK when compiling a module using a C++

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Lars Knudsen
Here's the code. It would really help me a lot if anyone knows the way to fix it. thanx Lars Knudsen Stanislav Malyshev [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... LK Can anybody tell me why I get an Call to undefined function LK when compiling a module

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Lars Knudsen
correction: it seams that using the 'string' from stdlib makes the difference. If I: #include string using namespace std; ... it doesnt work - but only if I *use* the string class strange. anyone got any Idea why? - Lars Stanislav Malyshev [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP-DEV] C++ in extension?

2001-11-28 Thread Andi Gutmans
At 03:48 PM 11/28/2001 +0100, Lars Knudsen wrote: correction: it seams that using the 'string' from stdlib makes the difference. If I: #include string using namespace std; ... it doesnt work - but only if I *use* the string class strange. anyone got any Idea why? Possibly because you're