sockets.c : many warnings with gcc 2.7.2.2 on NetBSD
| From: | Olivier Cahagne | Date: | Mon, 11 Sep 2000 14:56:20 +0000 |
| Subject: | sockets.c : many warnings with gcc 2.7.2.2 on NetBSD | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32921@lists.php.net to get a copy of this message | ||
Hi,
I saw there were some fixes to sockets.c after PHP 4.0.3RC1 so I tried the latest snapshot 200009110345 and here're the warnings I get with NetBSD 1.3.3 + gcc 2.7.2.2 and ./configure --enable-sockets:
sockets.c: In function `php_if_getsockname':
sockets.c:636: warning: passing arg 2 of `getsockname' from incompatible pointer type
sockets.c: In function `php_if_getpeername':
sockets.c:732: warning: passing arg 2 of `getpeername' from incompatible pointer type
sockets.c: In function `php_if_bind':
sockets.c:971: warning: passing arg 2 of `bind' from incompatible pointer type
sockets.c:994: warning: passing arg 2 of `bind' from incompatible pointer type
sockets.c: In function `php_if_sendto':
sockets.c:1471: warning: passing arg 5 of `sendto' from incompatible pointer type
sockets.c:1501: warning: passing arg 5 of `sendto' from incompatible pointer type
sockets.c: In function `php_if_recvmsg':
sockets.c:1574: warning: assignment from incompatible pointer type
sockets.c:1580: warning: assignment from incompatible pointer type
sockets.c:1633: warning: assignment from incompatible pointer type
sockets.c:1639: warning: assignment from incompatible pointer type
sockets.c: In function `php_if_sendmsg':
sockets.c:1712: warning: assignment from incompatible pointer type
sockets.c:1736: warning: assignment from incompatible pointer type
It compiles fine however.
--
Olivier.Cahagne@epita.fr