php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58657 Windows Build Errors
Submitted: 2009-04-29 19:24 UTC Modified: 2009-06-12 21:07 UTC
From: Trigunflame at gmail dot com Assigned: kalle (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5_3 CVS-2009-04-29 (dev) OS: WIN
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: Trigunflame at gmail dot com
New email:
PHP Version: OS:

 

 [2009-04-29 19:24 UTC] Trigunflame at gmail dot com
Description:
------------
Quite a few error C2065: 'tsrm_ls' : undeclared identifier 

in apc_main.c


Expected result:
----------------
No errors

Actual result:
--------------
        "cl.exe" /D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPOR
TS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x400 /DHAVE_NEWAPIS_H=0 /D COMPILE
_DL_CURL /D COMPILE_DL_MBSTRING  /nologo /FD /I . /I main /I Zend /I TSRM /I ext
 /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS  /wd4996 /D_USE_32
BIT_TIME_T=1   /MP  /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLI
NE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "..\deps\include"  /I "E:\Server\apache\inclu
de"  /I "G:\DEV\PHP\deps\bindlib\include"  /I "G:\DEV\PHP\deps\libiconv\include"
  /I "G:\DEV\PHP\deps\libxml2\include"  /I "G:\DEV\PHP\deps\zlib\include"  /I "G
:\DEV\PHP\deps\libbz2\include"  /I "G:\DEV\PHP\deps\freetype\include"  /I "G:\DE
V\PHP\deps\libcurl\include"  /I "G:\DEV\PHP\deps\libmcrypt\include"  /I "G:\DEV\
PHP\deps\openssl\include"  /I "G:\DEV\PHP\deps\libpng\include"  /I "G:\DEV\PHP\d
eps\libjpeg\include"  /I "G:\DEV\PHP\deps\ICU\include"  /D FD_SETSIZE=256 /Fo..\
Release_TS\pecl\apc\ /Fd..\Release_TS\pecl\apc\ /Fp..\Release_TS\pecl\apc\ /FR..
\Release_TS\pecl\apc\ /c ..\pecl\apc\apc.c ..\pecl\apc\apc_bin.c ..\pecl\apc\apc
_cache.c ..\pecl\apc\apc_compile.c ..\pecl\apc\apc_debug.c ..\pecl\apc\apc_fcntl
_win32.c ..\pecl\apc\apc_iterator.c ..\pecl\apc\apc_main.c ..\pecl\apc\apc_pool.
c ..\pecl\apc\apc_rfc1867.c ..\pecl\apc\apc_shm.c ..\pecl\apc\apc_sma.c ..\pecl\
apc\apc_stack.c ..\pecl\apc\apc_zend.c ..\pecl\apc\php_apc.c
apc.c
apc_bin.c
apc_cache.c
apc_compile.c
..\pecl\apc\apc_cache.c(325) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(487) : warning C4018: '>=' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(502) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_cache.c(610) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(515) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(162) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(604) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(168) : warning C4018: '>' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(193) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(854) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(348) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_compile.c(942) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(387) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(451) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(451) : warning C4018: '>' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(452) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(456) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(456) : warning C4018: '>' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(461) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(461) : warning C4018: '>' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(469) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(469) : warning C4018: '>' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(577) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(711) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(742) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(809) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(840) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_bin.c(874) : warning C4018: '<' : signed/unsigned mismatch
apc_debug.c
apc_fcntl_win32.c
apc_iterator.c
apc_main.c
apc_pool.c
apc_rfc1867.c
..\pecl\apc\apc_main.c(108) : error C2065: 'tsrm_ls' : undeclared identifier
g:\dev\php\pecl\apc\apc_iterator.c(145) : warning C4700: uninitialized local var
iable 'value' used
..\pecl\apc\apc_main.c(115) : error C2065: 'tsrm_ls' : undeclared identifier
..\pecl\apc\apc_main.c(229) : error C2143: syntax error : missing ')' before ','

..\pecl\apc\apc_main.c(229) : error C2198: 'zend_is_compiling' : too few argumen
ts for call
..\pecl\apc\apc_main.c(229) : error C2065: 'tsrm_ls' : undeclared identifier
..\pecl\apc\apc_main.c(229) : error C2059: syntax error : ')'
..\pecl\apc\apc_main.c(231) : error C2065: 'tsrm_ls' : undeclared identifier
..\pecl\apc\apc_main.c(238) : error C2198: 'install_class' : too few arguments f
or call
..\pecl\apc\apc_main.c(243) : error C2065: 'tsrm_ls' : undeclared identifier
..\pecl\apc\apc_main.c(309) : error C2065: 'tsrm_ls' : undeclared identifier
..\pecl\apc\apc_main.c(309) : warning C4047: 'function' : 'void ***' differs in
levels of indirection from 'apply_func_args_t'
..\pecl\apc\apc_main.c(309) : warning C4022: 'zend_hash_apply_with_arguments' :
pointer mismatch for actual parameter 2
..\pecl\apc\apc_main.c(309) : warning C4047: 'function' : 'apply_func_args_t' di
ffers in levels of indirection from 'int'
..\pecl\apc\apc_main.c(309) : warning C4024: 'zend_hash_apply_with_arguments' :
different types for formal and actual parameter 3
..\pecl\apc\apc_main.c(309) : warning C4047: 'function' : 'int' differs in level
s of indirection from 'zval *'
..\pecl\apc\apc_main.c(309) : warning C4024: 'zend_hash_apply_with_arguments' :
different types for formal and actual parameter 4
..\pecl\apc\apc_main.c(316) : error C2065: 'tsrm_ls' : undeclared identifier
apc_shm.c
..\pecl\apc\apc_main.c(316) : warning C4047: 'function' : 'void ***' differs in
levels of indirection from 'apply_func_args_t'
..\pecl\apc\apc_main.c(316) : warning C4022: 'zend_hash_apply_with_arguments' :
pointer mismatch for actual parameter 2
..\pecl\apc\apc_main.c(316) : warning C4047: 'function' : 'apply_func_args_t' di
ffers in levels of indirection from 'int'
..\pecl\apc\apc_main.c(316) : warning C4024: 'zend_hash_apply_with_arguments' :
different types for formal and actual parameter 3
..\pecl\apc\apc_main.c(316) : warning C4047: 'function' : 'int' differs in level
s of indirection from 'zval *'
..\pecl\apc\apc_main.c(316) : warning C4024: 'zend_hash_apply_with_arguments' :
different types for formal and actual parameter 4
apc_sma.c
g:\dev\php\pecl\apc\apc_pool.c(95) : warning C4700: uninitialized local variable
 'upool' used
apc_stack.c
..\pecl\apc\apc_rfc1867.c(93) : warning C4244: '=' : conversion from 'double' to
 'int', possible loss of data
..\pecl\apc\apc_rfc1867.c(96) : warning C4244: '=' : conversion from 'double' to
 'int', possible loss of data
..\pecl\apc\apc_rfc1867.c(141) : warning C4018: '>' : signed/unsigned mismatch
apc_zend.c
php_apc.c
..\pecl\apc\apc_sma.c(365) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(429) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(473) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(550) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(650) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(657) : warning C4018: '<' : signed/unsigned mismatch
..\pecl\apc\apc_sma.c(716) : warning C4018: '<' : signed/unsigned mismatch
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
 [2009-06-12 21:07 UTC] kalle@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.

Fixed by both me and Pierre 1? week ago :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC