#43526 [Asn->Csd]: fixing warnings/errors in pgsql.c
| From: | iliaa@php.net | Date: | Mon, 02 Nov 2009 13:33:31 +0000 |
| Subject: | #43526 [Asn->Csd]: fixing warnings/errors in pgsql.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144163@lists.php.net to get a copy of this message | ||
ID: 43526
Updated by: iliaa@php.net
Reported By: mi+php at aldan dot algebra dot com
-Status: Assigned
+Status: Closed
Bug Type: Feature/Change Request
Operating System: FreeBSD/amd64
PHP Version: 5.2.5
Assigned To: iliaa
New Comment:
This bug has been fixed in SVN.
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.
Previous Comments:
------------------------------------------------------------------------
[2007-12-07 06:21:44] mi+php at aldan dot algebra dot com
Change the Summary to reflect the contents of /this/ bug report.
------------------------------------------------------------------------
[2007-12-07 05:18:50] mi+php at aldan dot algebra dot com
Description:
------------
The pgsql.c extension fails to compile on a 64-bit system, when ``-Wall
-Werror'' are enabled.
Some of the raised warnings point to likely programming mistakes, such
as when a pointer is casted to int, which loses bits wherever void* is
wider than int.
The patch at
http://virtual-estates.com/~mi/port-stuff/patch-pgsql-64bit
fixes this. It requires the earlier submitted patch for zend_list
functions, or else the pointer's bits will be truncated by the call to
zend_list_find anyway.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43526&edit=1