|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-06-16 17:10 UTC] jfha73 at gmail dot com
Description:
------------
Hey guys,
Your extension is still not working with PHP 7.
Test script:
---------------
configure --disable-all --enable-cli --with-ibm_db2=shared,D:\IBM\SQLLIB
nmake
Expected result:
----------------
Compile and create the extension file (dll)
Actual result:
--------------
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
Recreating build dirs
Recreating build dirs
"cl.exe" /D COMPILE_DL_IBM_DB2 /D IBM_DB2_EXPORTS=1 /I "D:\IBM\SQLLIB\in
clude" /DHAVE_SQL_H=1 /DHAVE_SQLEXT_H=1 /DHAVE_SQLCLI1_H=1 /nologo /I . /I main
/I Zend /I TSRM /I ext /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _M
BCS /W3 /FD /wd4996 /MP /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_
INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "D:\PHP-SDK\phpmaster\vc11\x64\deps\inclu
de" /D FD_SETSIZE=256 /FoD:\PHP-SDK\phpmaster\vc11\x64\php-src\x64\Release_TS\pe
cl\ibm_db2-1.9.7\ /FpD:\PHP-SDK\phpmaster\vc11\x64\php-src\x64\Release_TS\pecl\i
bm_db2-1.9.7\ /FRD:\PHP-SDK\phpmaster\vc11\x64\php-src\x64\Release_TS\pecl\ibm_d
b2-1.9.7\ /FdD:\PHP-SDK\phpmaster\vc11\x64\php-src\x64\Release_TS\pecl\ibm_db2-1
.9.7\ /c ..\pecl\ibm_db2-1.9.7\ibm_db2.c
ibm_db2.c
..\pecl\ibm_db2-1.9.7\ibm_db2.c(470) : error C2143: syntax error : missing ')' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(470) : error C2143: syntax error : missing '{' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(470) : error C2059: syntax error : ')'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(471) : error C2054: expected '(' to follow 'rsrc
'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(497) : error C2143: syntax error : missing ')' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(497) : error C2143: syntax error : missing '{' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(497) : error C2059: syntax error : ')'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(498) : error C2054: expected '(' to follow 'rsrc
'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(525) : warning C4047: 'function' : 'zval *' diff
ers in levels of indirection from 'zval **'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(525) : warning C4024: '_zval_ptr_dtor' : differe
nt types for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(623) : error C2143: syntax error : missing ')' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(623) : error C2143: syntax error : missing '{' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(623) : error C2059: syntax error : ')'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(624) : error C2054: expected '(' to follow 'rsrc
'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(743) : error C2065: '_php_db2_free_conn_struct'
: undeclared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(743) : warning C4047: 'function' : 'rsrc_dtor_fu
nc_t' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(743) : warning C4024: 'zend_register_list_destru
ctors_ex' : different types for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(744) : error C2065: '_php_db2_free_pconn_struct'
: undeclared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(744) : warning C4047: 'function' : 'rsrc_dtor_fu
nc_t' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(744) : warning C4024: 'zend_register_list_destru
ctors_ex' : different types for formal and actual parameter 2
..\pecl\ibm_db2-1.9.7\ibm_db2.c(745) : error C2065: '_php_db2_free_stmt_struct'
: undeclared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(745) : warning C4047: 'function' : 'rsrc_dtor_fu
nc_t' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(745) : warning C4024: 'zend_register_list_destru
ctors_ex' : different types for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(767) : error C2143: syntax error : missing ')' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(767) : error C2143: syntax error : missing '{' b
efore '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(767) : error C2059: syntax error : ')'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(768) : error C2054: expected '(' to follow 'le'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(794) : error C2065: '_php_ibm_db2_conn' : undecl
ared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1029) : warning C4267: '=' : conversion from 'si
ze_t' to 'int', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1083) : warning C4013: 'Z_TYPE_PP' undefined; as
suming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1084) : warning C4013: 'Z_STRVAL_PP' undefined;
assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1084) : warning C4047: '=' : 'char *' differs in
levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1086) : warning C4013: 'Z_LVAL_PP' undefined; as
suming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1469) : warning C4267: 'initializing' : conversi
on from 'size_t' to 'int', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1490) : warning C4267: 'initializing' : conversi
on from 'size_t' to 'int', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1777) : warning C4002: too many actual parameter
s for macro 'zend_hash_get_current_key'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1777) : warning C4133: 'function' : incompatible
types - from 'char **' to 'zend_string **'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1777) : warning C4133: 'function' : incompatible
types - from 'ulong *' to 'zend_ulong *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(1778) : warning C4002: too many actual parameter
s for macro 'zend_hash_get_current_data'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2206) : error C2065: 'zend_rsrc_list_entry' : un
declared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2206) : error C2146: syntax error : missing ';'
before identifier 'newEntry'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2206) : error C2065: 'newEntry' : undeclared ide
ntifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2207) : error C2143: syntax error : missing ';'
before 'type'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2208) : error C2143: syntax error : missing ';'
before 'type'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2222) : error C2143: syntax error : missing ';'
before 'type'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2241) : error C2065: 'zend_rsrc_list_entry' : un
declared identifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2241) : error C2065: 'entry' : undeclared identi
fier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2241) : warning C4552: '*' : operator has no eff
ect; expected operator with side-effect
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2242) : warning C4267: '=' : conversion from 'si
ze_t' to 'int', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2247) : warning C4133: 'function' : incompatible
types - from 'char *' to 'zend_string *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2247) : warning C4020: 'zend_hash_find' : too ma
ny actual parameters
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2247) : error C2065: 'entry' : undeclared identi
fier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2247) : warning C4047: '==' : 'zval *' differs i
n levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2248) : error C2065: 'entry' : undeclared identi
fier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2248) : error C2223: left of '->ptr' must point
to struct/union
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2406) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2407) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2408) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2409) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2410) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2411) : error C2065: 'attr' : undeclared identif
ier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2487) : error C2065: 'sqlca' : undeclared identi
fier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2487) : warning C4133: 'function' : incompatible
types - from 'int *' to 'sqlca *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2496) : error C2065: 'sqlca' : undeclared identi
fier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2496) : error C2224: left of '.sqlerrd' must hav
e struct/union type
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2522) : error C2065: 'server' : undeclared ident
ifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2522) : warning C4022: 'memset' : pointer mismat
ch for actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2523) : error C2065: 'server' : undeclared ident
ifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2524) : error C2065: 'server' : undeclared ident
ifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2524) : warning C4047: 'function' : 'const char
*' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2524) : warning C4024: 'strcmp' : different type
s for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2527) : error C2065: 'server' : undeclared ident
ifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2527) : warning C4047: 'function' : 'const char
*' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2527) : warning C4024: 'strcmp' : different type
s for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2552) : error C2065: 'newEntry' : undeclared ide
ntifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2553) : error C2065: 'newEntry' : undeclared ide
ntifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2553) : warning C4133: 'function' : incompatible
types - from 'int *' to 'const zval *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2553) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2554) : error C2065: 'newEntry' : undeclared ide
ntifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2554) : error C2224: left of '.ptr' must have st
ruct/union type
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2555) : warning C4002: too many actual parameter
s for macro 'zend_hash_update'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2555) : warning C4133: 'function' : incompatible
types - from 'char *' to 'zend_string *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2555) : warning C4047: 'function' : 'zval *' dif
fers in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2555) : warning C4024: '_zend_hash_update' : dif
ferent types for formal and actual parameter 3
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2555) : warning C4047: '==' : 'zval *' differs i
n levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2716) : warning C4013: 'ZEND_REGISTER_RESOURCE'
undefined; assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2760) : warning C4013: 'ZEND_FETCH_RESOURCE2' un
defined; assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2760) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2760) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2892) : error C2275: 'stmt_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(159) : see declaration of 'stmt_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(2892) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3039) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3039) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3098) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3098) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3166) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3166) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3227) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3227) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3293) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3293) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3357) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3357) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3417) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3417) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3477) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3477) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3542) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3542) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3605) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3605) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3676) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3676) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3729) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3729) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3814) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3814) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3867) : warning C4013: 'ZEND_FETCH_RESOURCE' und
efined; assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3867) : error C2275: 'stmt_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(159) : see declaration of 'stmt_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3867) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3898) : error C2275: 'conn_handle' : illegal use
of this type as an expression
..\pecl\ibm_db2-1.9.7\ibm_db2.c(107) : see declaration of 'conn_handle'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3898) : error C2059: syntax error : ','
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3927) : error C2143: syntax error : missing '{'
before '*'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3957) : warning C4133: 'return' : incompatible t
ypes - from 'param_node *' to 'int *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3973) : warning C4047: 'function' : 'zval *' dif
fers in levels of indirection from 'zval **'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3973) : warning C4024: '_zval_ptr_dtor' : differ
ent types for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(3974) : warning C4013: 'MAKE_STD_ZVAL' undefined
; assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4015) : warning C4013: 'Z_STRLEN_PP' undefined;
assuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4016) : error C2231: '.val' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4017) : warning C4047: 'function' : 'const char
*' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4017) : warning C4024: '_estrndup' : different t
ypes for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4017) : warning C4047: '=' : 'int' differs in le
vels of indirection from 'char *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4017) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4019) : warning C4018: '<' : signed/unsigned mis
match
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4020) : warning C4022: '_erealloc' : pointer mis
match for actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4020) : warning C4047: '=' : 'int' differs in le
vels of indirection from 'void *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4020) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4021) : warning C4047: '==' : 'int' differs in l
evels of indirection from 'void *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4027) : warning C4022: 'memset' : pointer mismat
ch for actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4030) : error C2109: subscript requires array or
pointer type
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4032) : error C2109: subscript requires array or
pointer type
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4034) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4085) : error C2231: '.val' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4086) : warning C4047: 'function' : 'const char
*' differs in levels of indirection from 'int'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4086) : warning C4024: '_estrndup' : different t
ypes for formal and actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4086) : warning C4047: '=' : 'int' differs in le
vels of indirection from 'char *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4086) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4088) : warning C4018: '<' : signed/unsigned mis
match
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4089) : warning C4022: '_erealloc' : pointer mis
match for actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4089) : warning C4047: '=' : 'int' differs in le
vels of indirection from 'void *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4089) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4090) : warning C4047: '==' : 'int' differs in l
evels of indirection from 'void *'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4094) : warning C4022: 'memset' : pointer mismat
ch for actual parameter 1
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4095) : error C2109: subscript requires array or
pointer type
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4096) : error C2106: '=' : left operand must be
l-value
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4120) : warning C4013: 'INIT_PZVAL' undefined; a
ssuming extern returning int
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4131) : error C2231: '.len' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4133) : error C2231: '.val' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4135) : warning C4267: 'function' : conversion f
rom 'size_t' to 'SQLSMALLINT', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4144) : error C2065: 'IS_BOOL' : undeclared iden
tifier
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4144) : error C2051: case expression not constan
t
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4175) : error C2231: '.len' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4175) : warning C4267: '=' : conversion from 'si
ze_t' to 'SQLINTEGER', possible loss of data
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4179) : error C2231: '.val' : left operand point
s to 'struct', use '->'
..\pecl\ibm_db2-1.9.7\ibm_db2.c(4179) : fatal error C1003: error count exceeds 1
00; stopping compilation
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 19:00:02 2025 UTC |
I traced it down, it fails on calling 'db2_pconnect': db2_pconnect('DATABASE=*LOCAL;HOSTNAME=10.0.0.124', null, null, array('autocommit' => DB2_AUTOCOMMIT_ON));