php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #43526 fixing warnings/errors in pgsql.c
Submitted: 2007-12-07 05:18 UTC Modified: 2009-11-02 13:33 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mi+php at aldan dot algebra dot com Assigned: iliaa (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.2.5 OS: FreeBSD/amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mi+php at aldan dot algebra dot com
New email:
PHP Version: OS:

 

 [2007-12-07 05:18 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-07 06:21 UTC] mi+php at aldan dot algebra dot com
Change the Summary to reflect the contents of /this/ bug report.
 [2009-11-02 13:33 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC