#32511 [Opn->Csd]: ap_php_snprintf breaks under C++ extensions
| From: | sniper@php.net | Date: | Thu, 31 Mar 2005 07:41:16 +0000 |
| Subject: | #32511 [Opn->Csd]: ap_php_snprintf breaks under C++ extensions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76104@lists.php.net to get a copy of this message | ||
ID: 32511
Updated by: sniper@php.net
Reported By: lobbin at localhost dot nu
-Status: Open
+Status: Closed
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.3.10
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Unfortunately the fix didn't make it to PHP 4.3.11 or PHP 5.0.4..
Previous Comments:
------------------------------------------------------------------------
[2005-03-31 08:46:12] lobbin at localhost dot nu
Description:
------------
Compiling a C++ extension under 4.3.10 gives my errors when using the
extension.
A patch fixing the problem by adding extern c can be found here:
http://robin.vill.ha.kuddkrig.nu/patches/php-snprintf.diff
As far as I can see it needs to be applied to all branches.
Expected result:
----------------
A working extension :)
Actual result:
--------------
undefined symbol: ap_php_snprintf__FPcUiPCce
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32511&edit=1