php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58265 Compilation error
Submitted: 2008-07-06 17:46 UTC Modified: 2008-07-06 23:18 UTC
From: pajoye@php.net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: HEAD CVS-2008-07-06 (dev) OS:
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pajoye@php.net
New email:
PHP Version: OS:

 

 [2008-07-06 17:46 UTC] pajoye@php.net
Description:
------------
For the 1st errors:

http://pierre.libgd.org/patches/apc_compile.c.patch.txt

For the "pointers to functions with different..." error, no patch, sorry.

You can see the complete compile log at:

http://snaps.php.net/win32/snapshot-5.3.log

Reproduce code:
---------------
apc_cache.c
..\pecl\apc\apc_cache.c(359) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(472) : warning C4018: '>=' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(488) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(583) : warning C4018: '<' : signed/unsigned mismatch
apc_compile.c
..\pecl\apc\apc_compile.c(182) : error C2143: syntax error : missing ';' before 'type'
..\pecl\apc\apc_compile.c(185) : error C2065: 'pool' : undeclared identifier
..\pecl\apc\apc_compile.c(185) : error C2223: left of '->palloc' must point to struct/union
..\pecl\apc\apc_compile.c(483) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(566) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(793) : error C2143: syntax error : missing ';' before 'type'
..\pecl\apc\apc_compile.c(796) : error C2065: 'usegc' : undeclared identifier
..\pecl\apc\apc_compile.c(814) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(901) : warning C4018: '<' : signed/unsigned mismatch

....

apc_stack.c
apc_zend.c
..\pecl\apc\apc_zend.c(237) : error C2152: '=' : pointers to functions with different at
php_apc.c
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-06 20:31 UTC] shire@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

lgtm, thanks.
 [2008-07-06 23:18 UTC] shire@php.net
"..\pecl\apc\apc_zend.c(237) : error C2152: '=' : pointers to functions with different attributes"

error should be fixed now as well.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC