Bug #75822 [NEW]: PHP failed to build
| From: | 1518134125 at qq dot com | Date: | Tue, 16 Jan 2018 06:49:21 +0000 |
| Subject: | Bug #75822 [NEW]: PHP failed to build | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-213559@lists.php.net to get a copy of this message | ||
From: 1518134125 at qq dot com
Operating system: Windows Server 2016
PHP version: master-Git-2018-01-16 (Git)
Package: *General Issues
Bug Type: Bug
Bug description:PHP failed to build
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 bug report at https://bugs.php.net/bug.php?id=75822&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75822&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75822&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75822&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75822&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75822&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75822&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75822&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75822&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75822&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75822&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75822&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75822&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75822&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75822&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75822&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75822&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75822&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75822&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75822&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75822&r=mysqlcfg