cc: Warning: /php/php-src/ext/sockets/sockets.c, line 266: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) out_sock->bsd_socket = accept(in_sock->bsd_socket, la, &salen); ---------------------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 348: In this statement, "hstrerror(...)" of type "int", is being converted to "pointer to const char". (cvtdiftypes) buf = hstrerror(error); ----------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 880: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockname(php_sock->bsd_socket, sa, &salen) != 0) { --------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 956: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getpeername(php_sock->bsd_socket, sa, &salen) < 0) { --------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1536: In this statement, the referenced type of the pointer value "(socklen_t ...)&slen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen); ----------------------------------------------------------------------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1560: In this statement, the referenced type of the pointer value "(socklen_t ...)&slen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen); ---------------------------------------------------------------------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1718: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockname(php_sock->bsd_socket, sa, &salen) != 0) { --------------------------------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1798: In this statement, "msg_control" is not a member of "hdr". (needmember) hdr.msg_control = ctl_buf ? (void *) ctl_buf : NULL; ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1799: In this statement, "msg_controllen" is not a member of "hdr". (needmember) hdr.msg_controllen = ctl_buf ? Z_LVAL_P(arg4) : 0; ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1808: In the initializer for mhdr, "msg_control" is not a member of "hdr". (needmember) struct cmsghdr *mhdr = (struct cmsghdr *) hdr.msg_control; --------------------------------------------------------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1816: In this statement, "msg_controllen" is not a member of "hdr". (needmember) ZVAL_LONG(arg4, hdr.msg_controllen); --------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1827: In this statement, the referenced type of the pointer value "((unsigned char ...)(mhdr)+(sizeof(struct cmsghdr)+0))" is "unsigned char", which is not compatible with "char" because they differ by signed/unsigned attribute. (ptrmismatch1) add_assoc_string(arg3, "cmsg_data", CMSG_DATA(mhdr), 1); ----------------------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1851: In this statement, "msg_control" is not a member of "hdr". (needmember) hdr.msg_control = (void *) ctl_buf; ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1852: In this statement, "msg_controllen" is not a member of "hdr". (needmember) hdr.msg_controllen = Z_LVAL_P(arg4); ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1854: In this statement, "msg_control" is not a member of "hdr". (needmember) hdr.msg_control = NULL; ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1855: In this statement, "msg_controllen" is not a member of "hdr". (needmember) hdr.msg_controllen = 0; ------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1866: In the initializer for mhdr, "msg_control" is not a member of "hdr". (needmember) struct cmsghdr *mhdr = (struct cmsghdr *) hdr.msg_control; ------------------------------------------------------------------^ cc: Error: /php/php-src/ext/sockets/sockets.c, line 1875: In this statement, "msg_controllen" is not a member of "hdr". (needmember) ZVAL_LONG(arg4, hdr.msg_controllen); --------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1884: In this statement, the referenced type of the pointer value "((unsigned char ...)(mhdr)+(sizeof(struct cmsghdr)+0))" is "unsigned char", which is not compatible with "char" because they differ by signed/unsigned attribute. (ptrmismatch1) add_assoc_string(arg3, "cmsg_data", CMSG_DATA(mhdr), 1); --------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 1921: In this statement, the referenced type of the pointer value "&salen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockname(php_sock->bsd_socket, &sa, &salen) != 0) { ---------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 2042: In this statement, the referenced type of the pointer value "&optlen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) { -------------------------------------------------------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 2057: In this statement, the referenced type of the pointer value "&optlen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) { -----------------------------------------------------------------------------------------^ cc: Warning: /php/php-src/ext/sockets/sockets.c, line 2071: In this statement, the referenced type of the pointer value "&optlen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) { ------------------------------------------------------------------------------------------------^ gmake: *** [ext/sockets/sockets.lo] Error 1 gmake: *** Waiting for unfinished jobs.... 15:36 [EMAIL PROTECTED]:/php/php-src #
-- Nobody ever ruined their eyesight by looking at the bright side of something. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php