Hello Everyone,
With the current version of CVS PHP_5_2 branch I get this compiler
warning:
c:\php\php5_2\zend\zend.c(565) : warning C4700: local variable 'tsrm_ls'
used without having been initialized
- Frank
There's also a build error in ZTS in ext/filter and warnings in ext/date.
Can someone take a look?
/bin/sh /home/andi/php5/libtool --silent --preserve-dup-deps --mode=compile
/home/andi/php5/meta_ccld -Iext/filter/ -I/home/andi/php5/ext/filter/
-DPHP_ATOM_INC -I/home/andi/php5/include -I/home/andi/php5/main
-I/home/andi/php5 -I/usr/local/include -I/usr/include/libxml2
-I/home/andi/php5/pcrelib -I/home/andi/php5/ext/date/lib
-I/home/andi/php5/TSRM -I/home/andi/php5/Zend -D_REENTRANT -I/usr/include
-g -O2 -pthread -DZTS -c /home/andi/php5/ext/filter/filter.c -o
ext/filter/filter.lo
In file included from /home/andi/php5/ext/filter/php_filter.h:25,
from /home/andi/php5/ext/filter/filter.c:27:
/home/andi/php5/main/SAPI.h:263: error: syntax error before
"zend_function_entry"
/home/andi/php5/main/SAPI.h:263: warning: no semicolon at end of struct or
union
/home/andi/php5/ext/filter/filter.c: In function php_filter_get_storage': /home/andi/php5/ext/filter/filter.c:428: error: structure has no member named
register_globals'
/home/andi/php5/ext/filter/filter.c:428: error: structure has no member
named register_long_arrays' /home/andi/php5/ext/filter/filter.c: In function
zif_input_get_args':
/home/andi/php5/ext/filter/filter.c:704: warning: passing arg 2 of
`zend_hash_get_current_key_ex' from incompatible pointer type
make: *** [ext/filter/filter.lo] Error 1
Thx.
Andi
-----Original Message-----
From: Frank M. Kromann [mailto:frank@kromann.info]
Sent: Tuesday, July 18, 2006 1:00 PM
To: internals@lists.php.net
Subject: [PHP-DEV] Possible problem in ZendHello Everyone,
With the current version of CVS PHP_5_2 branch I get this compiler
warning:c:\php\php5_2\zend\zend.c(565) : warning C4700: local
variable 'tsrm_ls'
used without having been initialized
- Frank
--
To
unsubscribe, visit: http://www.php.net/unsub.php
There's also a build error in ZTS in ext/filter and warnings in ext/date.
Can someone take a look?
-g -O2 -pthread -DZTS -c /home/andi/php5/ext/filter/filter.c -o
ext/filter/filter.lo
In file included from /home/andi/php5/ext/filter/php_filter.h:25,
from /home/andi/php5/ext/filter/filter.c:27:
/home/andi/php5/main/SAPI.h:263: error: syntax error before
"zend_function_entry"
/home/andi/php5/main/SAPI.h:263: warning: no semicolon at end of struct or
union
/home/andi/php5/ext/filter/filter.c: In functionphp_filter_get_storage': /home/andi/php5/ext/filter/filter.c:428: error: structure has no member named
register_globals'
/home/andi/php5/ext/filter/filter.c:428: error: structure has no member
namedregister_long_arrays' /home/andi/php5/ext/filter/filter.c: In function
zif_input_get_args':
/home/andi/php5/ext/filter/filter.c:704: warning: passing arg 2 of
`zend_hash_get_current_key_ex' from incompatible pointer type
make: *** [ext/filter/filter.lo] Error 1
that sounds like you trying to build filter with CLI but configured or
partially compiled with CGI.
Can you try a make clean and make? I built filter on linux and windows
with ZTS successfully (cli or cgi).
--Pierre
--Pierre
Hello Everyone,
With the current version of CVS PHP_5_2 branch I get this compiler
warning:c:\php\php5_2\zend\zend.c(565) : warning C4700: local variable 'tsrm_ls'
used without having been initialized
Fixed, thanks for the heads-up.
--
Wbr,
Antony Dovgal