Bug #75822 [Com]: PHP failed to build
| From: | 1518134125 at qq dot com | Date: | Thu, 18 Jan 2018 08:02:24 +0000 |
| Subject: | Bug #75822 [Com]: PHP failed to build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213602@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75822&edit=1
ID: 75822
Comment by: 1518134125 at qq dot com
Reported by: 1518134125 at qq dot com
Summary: PHP failed to build
Status: Closed
Type: Bug
Package: *General Issues
Operating System: Windows Server 2016
PHP Version: master-Git-2018-01-16 (Git)
Assigned To: derick
Block user comment: N
Private report: N
New Comment:
Thank you so much for fixing this issue. I've verified your fix works well.
Previous Comments:
------------------------------------------------------------------------
[2018-01-16 11:10:28] derick@php.net
The fix for this bug has been committed.
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/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Looks like this is fixed already:
https://github.com/php/php-src/commit/022e029984b431c014545630d4dfac811607754b#diff-91d8f402f8b164f410cb808dc178f9faR47
------------------------------------------------------------------------
[2018-01-16 06:49:15] 1518134125 at qq dot com
Description:
------------
Environment: Windiows Server 2016 + VS2015 update3
I tried to build PHP with master branch latest revision on Windows.It failed to build due to the
error C2059,C2061,C2065,C2109. This issue can be reproduced from master revision
022e029(https://github.com/php/php-src/commit/022e029984b431c014545630d4dfac811607754b). Could you
please help take a look at this? Thanks in advance!
Expected result:
----------------
Build successfully.
Actual result:
--------------
Zend\zend_variables.c(47): error C2059: syntax error: '('
Zend\zend_variables.c(49): error C2061: syntax error: identifier 'zend_zval_dtor_func'
Zend\zend_variables.c(49): error C2059: syntax error: ';'
Zend\zend_variables.c(49): error C2059: syntax error: '['
Zend\zend_variables.c(67): error C2065: 'zend_zval_dtor_func': undeclared identifier
Zend\zend_variables.c(67): error C2109: subscript requires array or pointer type
Zend\zend_virtual_cwd.c(655): warning C4267: '=': conversion from 'size_t' to
'uint16_t', possible loss of data
Zend\zend_virtual_cwd.c(662): warning C4267: '=': conversion from 'size_t' to
'uint16_t', possible loss of data
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\cl.exe"' : return code
'0x2'
Stop.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75822&edit=1