Bug #69036 [NEW]: Compilation Fails on windows when building in x64 mode with VC11

From: Date: Thu, 12 Feb 2015 08:13:47 +0000
Subject: Bug #69036 [NEW]: Compilation Fails on windows when building in x64 mode with VC11
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190604@lists.php.net to get a copy of this message
From:             apoorvdeshmukh at live dot in
Operating system: Windows 7
PHP version:      5.6.5
Package:          Compile Failure
Bug Type:         Bug
Bug description:Compilation Fails on windows when building in x64 mode with VC11

Description:
------------
Zend/zend_ini_parser.y(158) : warning C4267: '=' : conversion from
'size_t' to '
int', possible loss of data
Zend/zend_ini_parser.y(176) : warning C4267: '=' : conversion from
'size_t' to '
int', possible loss of data
Zend/zend_ini_parser.c(387) : warning C4028: formal parameter 1
different from d
eclaration
Zend/zend_ini_parser.c(1457) : error C2198: 'ini_lex' : too few
arguments for ca
ll
Zend/zend_ini_parser.y(289) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(289) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(296) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(296) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(304) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(304) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(309) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(309) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(366) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(366) : warning C4022: 'zend_ini_get_var' :
pointer mismat
ch for actual parameter 3
Zend/zend_ini_parser.y(378) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(378) : warning C4022: 'zend_ini_get_constant' :
pointer m
ismatch for actual parameter 3
Zend/zend_ini_parser.c(1910) : warning C4090: 'function' : different
'const' qua
lifiers
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0
\VC\BIN\x86_amd64\cl.exe"' : return code '0x2'
Stop.

Expected result:
----------------
Successful compilation

Actual result:
--------------
Zend/zend_ini_parser.y(158) : warning C4267: '=' : conversion from
'size_t' to '
int', possible loss of data
Zend/zend_ini_parser.y(176) : warning C4267: '=' : conversion from
'size_t' to '
int', possible loss of data
Zend/zend_ini_parser.c(387) : warning C4028: formal parameter 1
different from d
eclaration
Zend/zend_ini_parser.c(1457) : error C2198: 'ini_lex' : too few
arguments for ca
ll
Zend/zend_ini_parser.y(289) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(289) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(296) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(296) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(304) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(304) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(309) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(309) : warning C4022: 'function through pointer'
: pointe
r mismatch for actual parameter 6
Zend/zend_ini_parser.y(366) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(366) : warning C4022: 'zend_ini_get_var' :
pointer mismat
ch for actual parameter 3
Zend/zend_ini_parser.y(378) : error C2065: 'tsrm_ls' : undeclared
identifier
Zend/zend_ini_parser.y(378) : warning C4022: 'zend_ini_get_constant' :
pointer m
ismatch for actual parameter 3
Zend/zend_ini_parser.c(1910) : warning C4090: 'function' : different
'const' qua
lifiers
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0
\VC\BIN\x86_amd64\cl.exe"' : return code '0x2'
Stop.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=69036&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=69036&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=69036&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=69036&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=69036&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=69036&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=69036&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=69036&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=69036&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=69036&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=69036&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=69036&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=69036&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=69036&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69036&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=69036&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=69036&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=69036&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69036&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=69036&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=69036&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#190604) next »