#43526 [Opn->Asn]: fixing warnings/errors in pgsql.c
| From: | tony2001@php.net | Date: | Tue, 29 Jan 2008 00:48:42 +0000 |
| Subject: | #43526 [Opn->Asn]: fixing warnings/errors in pgsql.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121688@lists.php.net to get a copy of this message | ||
ID: 43526
Updated by: tony2001@php.net
Reported By: mi+php at aldan dot algebra dot com
-Status: Open
+Status: Assigned
-Bug Type: PostgreSQL related
+Bug Type: Feature/Change Request
Operating System: FreeBSD/amd64
PHP Version: 5.2.5
-Assigned To:
+Assigned To: iliaa
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