msgpack/msgpack — Issue #100: PHP 5.4 TS compile error
Author: ricardok1
Created: 2012-03-05 08:33:38+00:00
State: open

Hi there,

Have you tested on PHP 5.4?

It's giving me errors with VC9 TS x86. Any hint or is not yet supported?

Thanks
Ricardo

Recreating build dirs
msgpack.c
ext\msgpack\msgpack.c(143) : warning C4047: 'function' : 'HashTable *' differs i
n levels of indirection from 'php_serialize_data_t *'
ext\msgpack\msgpack.c(143) : warning C4024: 'msgpack_serialize_zval' : different
types for formal and actual parameter 3
ext\msgpack\msgpack.c(226) : warning C4047: 'function' : 'HashTable *' differs i
n levels of indirection from 'php_serialize_data_t *'
ext\msgpack\msgpack.c(226) : warning C4024: 'msgpack_serialize_zval' : different
types for formal and actual parameter 3
msgpack_class.c
ext\msgpack\msgpack_class.c(205) : error C2039: 'default_properties' : is not a
member of '_zend_class_entry'
Zend\zend.h(462) : see declaration of '_zend_class_entry'
ext\msgpack\msgpack_class.c(206) : warning C4047: 'function' : 'HashTable *' dif
fers in levels of indirection from 'copy_ctor_func_t'
ext\msgpack\msgpack_class.c(206) : warning C4024: 'zend_hash_copy' : different t
ypes for formal and actual parameter 2
ext\msgpack\msgpack_class.c(206) : warning C4022: 'zend_hash_copy' : pointer mis
match for actual parameter 4
ext\msgpack\msgpack_class.c(206) : error C2198: 'zend_hash_copy' : too few argum
ents for call
ext\msgpack\msgpack_class.c(250) : error C2039: 'default_properties' : is not a
member of '_zend_class_entry'
Zend\zend.h(462) : see declaration of '_zend_class_entry'
ext\msgpack\msgpack_class.c(251) : warning C4047: 'function' : 'HashTable *' dif
fers in levels of indirection from 'copy_ctor_func_t'
ext\msgpack\msgpack_class.c(251) : warning C4024: 'zend_hash_copy' : different t
ypes for formal and actual parameter 2
ext\msgpack\msgpack_class.c(251) : warning C4022: 'zend_hash_copy' : pointer mis
match for actual parameter 4
ext\msgpack\msgpack_class.c(251) : error C2198: 'zend_hash_copy' : too few argum
ents for call
ext\msgpack\msgpack_class.c(318) : warning C4244: '=' : conversion from 'long' t
o 'zend_bool', possible loss of data
ext\msgpack\msgpack_class.c(349) : warning C4244: '=' : conversion from 'long' t
o 'zend_bool', possible loss of data
ext\msgpack\msgpack_class.c(541) : warning C4244: '=' : conversion from 'long' t
o 'zend_bool', possible loss of data
ext\msgpack\msgpack_class.c(616) : warning C4018: '>' : signed/unsigned mismatch

NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
\cl.exe"' : return code '0x2'
Stop.