php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64380 http_message_object.c build fails in 5.5.0alpha6
Submitted: 2013-03-08 01:17 UTC Modified: 2013-03-08 17:39 UTC
From: phpdev at ehrhardt dot nl Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.5.0alpha5 OS: Windows (VC9)
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: phpdev at ehrhardt dot nl
New email:
PHP Version: OS:

 

 [2013-03-08 01:17 UTC] phpdev at ehrhardt dot nl
Description:
------------
I could not select 5.5.0alpha6 yet, so I had to choose 5.5.0alpha5.
The trunk version fails to compile with 5.5.0alpha6, released today.
I experienced it when compiling with VC9 as NTS on Windows 7, but it might be the same on other OS's. I checked with a '-i' flag and only http_message_object.c fails.

Test script:
---------------
nmake php_http.dll reports:

http_message_object.c
ext\http\http_message_object.c(360) : warning C4113: 'zval **(__cdecl *)(zval *,zval *,const zend_literal *)' differs in parameter lists from 'zend_object_get_property_ptr_ptr_t'
ext\http\http_message_object.c(518) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(519) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(564) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(576) : warning C4047: 'function' : 'int' differs in levels of indirection from 'const zend_literal *'
ext\http\http_message_object.c(576) : warning C4024: 'function through pointer': different types for formal and actual parameter 3
ext\http\http_message_object.c(576) : error C2198: 'function through pointer' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-08 09:26 UTC] mike@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mike
 [2013-03-08 12:59 UTC] mike@php.net
Automatic comment from SVN on behalf of mike
Revision: http://svn.php.net/viewvc/?view=revision&revision=329705
Log: fix bug #64380 (http_message_object.c build fails in 5.5.0alpha6)
 [2013-03-08 13:00 UTC] mike@php.net
Should be fixed in trunk. Thank you!
 [2013-03-08 13:00 UTC] mike@php.net
-Status: Assigned +Status: Closed
 [2013-03-08 13:47 UTC] phpdev at ehrhardt dot nl
Fix confirmed
 [2013-03-08 17:39 UTC] phpdev at ehrhardt dot nl
When I wrote 'fix confirmed', I had already checked if it did not break a PHP 5.3 build. It did not. However, PHP 5.4 TS building is broken now:

http_message_object.c
ext\http\http_message_object.c(153) : error C2146: syntax error : missing ')' before identifier 'ZEND_GET_PPTR_TYPE_DC'
ext\http\http_message_object.c(153) : error C2061: syntax error : identifier 'ZEND_GET_PPTR_TYPE_DC'
ext\http\http_message_object.c(153) : error C2059: syntax error : ';'
ext\http\http_message_object.c(153) : error C2059: syntax error : ','
ext\http\http_message_object.c(153) : error C2059: syntax error : ')'
ext\http\http_message_object.c(360) : error C2065: '_http_message_object_get_prop_ptr' : undeclared identifier
ext\http\http_message_object.c(360) : warning C4047: '=' : 'zend_object_get_property_ptr_ptr_t' differs in levels of indirection from 'int'
ext\http\http_message_object.c(518) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(519) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(564) : warning C4133: 'function' : incompatible types - from 'http_message_object *' to 'zend_object *'
ext\http\http_message_object.c(567) : error C2146: syntax error : missing ')' before identifier 'ZEND_GET_PPTR_TYPE_DC'
ext\http\http_message_object.c(567) : error C2061: syntax error : identifier 'ZEND_GET_PPTR_TYPE_DC'
ext\http\http_message_object.c(567) : error C2059: syntax error : ';'
ext\http\http_message_object.c(567) : error C2059: syntax error : ','
ext\http\http_message_object.c(567) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\cl.exe"' : return code '0x2'
Stop.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC