Latest snapshot reports
| From: | Olivier Cahagne | Date: | Mon, 06 Nov 2000 23:30:49 +0000 |
| Subject: | Latest snapshot reports | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-1587@lists.php.net to get a copy of this message | ||
Hi,
As Andi said 4.0.4 was to be released, I tested latest snapshots on various
platforms:
I really wonder why these few warnings are not looked after as I already
reported these a few times before.
Is the
#1:
OpenBSD 2.6, gcc 2.95.2, default make, PHP 200011061245
./configure --enable-sockets
no warnings (great !)
runs ok in a shell
#2
Digital Unix 4.0, gcc 2.7.2.3, default make, PHP 200011061245
./configure --enable-sockets
runs ok in a shell
warnings: (php_mysql.c:503 and tsrm_virtual_cwd.c are 64-bit specific as
they also happen on ia-64)
zend_ini.c: In function `zend_ini_refresh_caches':
zend_ini.c:161: warning: cast to pointer from integer of different size
php_logos.c: In function `php_info_logos':
php_logos.c:77: warning: passing arg 2 of
zend_hash_find' discards const'
from pointer target type
php_mysql.c: In function `php_mysql_do_connect':
php_mysql.c:503: warning: cast from pointer to integer of different size
sockets.c: In function `php_if_strerror':
sockets.c:1093: warning: assignment makes pointer from integer without a
cast
sockets.c: In function `php_if_getsockopt':
sockets.c:1956: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
sockets.c:1973: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
tsrm_virtual_cwd.c: In function `virtual_getcwd':
tsrm_virtual_cwd.c:243: warning: passing arg 1 of `virtual_getcwd_ex' from
incompatible pointer type
#3
NetBSD 1.4.2, egcs 2.90.66, default make, PHP 200011061245
runs ok in a shell
./configure --enable-sockets
warnings:
php_logos.c: In function `php_info_logos':
php_logos.c:77: warning: passing arg 2 of zend_hash_find' discards const'
from pointer target type
dbug.c:325: warning: deprecated symbol "unix" is no longer predefined
#4
NetBSD 1.3.3, gcc 2.7.2.2, default make, PHP 200011061245
works fine in CGI mode
./configure --with-config-file-path=/usr/www/etc/httpd/conf/php_cgi \
--enable-discard-path \
--with-gd=/usr/www/mbin/i386-NetBSD \
--with-mysql \
--with-dbase \
--with-zlib=/usr/www/mbin/i386-NetBSD \
--with-mcrypt=/usr/www/mbin/i386-NetBSD \
--with-mhash=/usr/www/mbin/i386-NetBSD \
--enable-ftp \
--enable-trans-sid \
--enable-sockets \
--enable-track-vars \
--enable-inline-optimization \
--with-jpeg-dir=/usr/www/mbin/i386-NetBSD \
--with-imap=/usr/www/mbin/i386-NetBSD/lib
warnings:
php_logos.c: In function `php_info_logos':
php_logos.c:77: warning: passing arg 2 of zend_hash_find' discards const'
from pointer target type
sockets.c: In function `php_if_recvmsg':
sockets.c:1747: warning: assignment from incompatible pointer type
sockets.c:1753: warning: assignment from incompatible pointer type
sockets.c:1806: warning: assignment from incompatible pointer type
sockets.c:1812: warning: assignment from incompatible pointer type
sockets.c: In function `php_if_sendmsg':
sockets.c:1887: warning: assignment from incompatible pointer type
sockets.c:1911: warning: assignment from incompatible pointer type