Re: Build warnings on OSX in sockets

From: Date: Fri, 16 Aug 2002 13:35:10 +0000
Subject: Re: Build warnings on OSX in sockets
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86898@lists.php.net to get a copy of this message
All of the warning messages you list, with the exception of the last, is specific to the readmsg() sendmsg() code which uses msghdr's (A messgae header has all void * members). They should not cause any problems, but I will clean them up. The last message is referring to a buffer that is used in the case that you are running windows, or your platform does not support hsterror(). I can clean that up as well -Jason On Thu, 2002-08-15 at 10:37, Dan Kalowsky wrote: > Haven't noticed this before, so I'm guessing this isn't a good thing. > > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c: In function > `zif_socket_recvmsg' > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1524: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1529: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1578: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1584: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c: In function > `zif_socket_sendmsg': > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1670: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:1698: warning: > assignment from incompatible pointer type > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c: At top level: > /Users/dank/Development/php4-cvs/ext/sockets/sockets.c:115: warning: > `php_strerror_buf' defined but not used > > >---------------------------------------------------------------< > Dan Kalowsky "A little less conversation, > http://www.deadmime.org/~dank a little more action." > dank-nom@aps-deadmime.org - "A Little Less Conversation", > kalowsky@php.net Elvis Presley > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#86898) next »