Re: Latest snapshot reports
| From: | Sascha Schumann | Date: | Mon, 06 Nov 2000 23:43:04 +0000 |
| Subject: | Re: Latest snapshot reports | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-1588@lists.php.net to get a copy of this message | ||
Oliver,
thanks for your feedback.
> 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
Fixed
> 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
Fixed
> php_mysql.c: In function `php_mysql_do_connect':
> php_mysql.c:503: warning: cast from pointer to integer of different size
Won't be fixed. Broken code (IIRC).
> sockets.c: In function `php_if_strerror':
> sockets.c:1093: warning: assignment makes pointer from integer without a
> cast
I don't see the reason here. hstrerror() should be defined to
return const char *.
> 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
Both fixed.
> 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
Fixed
- Sascha