Compiler Warnings in 4.2.0RC2

From: Date: Wed, 10 Apr 2002 19:34:29 +0000
Subject: Compiler Warnings in 4.2.0RC2
Groups: php.qa 
Request: Send a blank email to php-qa+get-5034@lists.php.net to get a copy of this message
Hi, I get tons of warnings with current RC (2) here a short extract: /bin/sh /home/chris/php/php-4.2.0RC2/libtool --silent --mode=compile cc -I. -I/home/chris/php/php-4.2.0RC2/ext/mysql/libmysql -I/home/chris/php/ php-4.2.0RC2/main -I/home/chris/php/php-4.2.0RC2 -I/usr/local/apache/include -I/home/chris/php/php-4.2.0RC2/Zend -I/home/chris/php/php-4.2.0RC2/ext/mysq l/libmysql -I/home/chris/php/php-4.2.0RC2/ext/xml/expat -DLINUX=22 -DUSE_HS REGEX -DUSE_EXPAT -I/home/chris/php/php-4.2.0RC2/TSRM -g -O2 -prefer-pic -c libmysql.c In file included from libmysql.c:5: global.h:256: warning: redefinition of `uint' /usr/include/sys/types.h:152: warning: `uint' previously declared here global.h:257: warning: redefinition of `ushort' /usr/include/sys/types.h:151: warning: `ushort' previously declared here global.h:258: warning: redefinition of `ulong' /usr/include/sys/types.h:150: warning: `ulong' previously declared here These are in many files, but I didn't investigate in which ... But I also get these Warnings: libmysql.c: In function `net_safe_read': libmysql.c:290: warning: passing arg 2 of `signal' from incompatible pointer type libmysql.c: In function `simple_command': libmysql.c:421: warning: passing arg 2 of `signal' from incompatible pointer type libmysql.c: In function `pipe_sig_handler': libmysql.c:605: warning: passing arg 2 of `signal' from incompatible pointer type libmysql.c: In function `end_server': libmysql.c:622: warning: passing arg 2 of `signal' from incompatible pointer type libmysql.c: In function `mysql_real_connect': libmysql.c:1158: warning: passing arg 2 of `signal' from incompatible pointer type My machine: Debian Woody with linux kernel 2.2.19 My configure line: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--with-xml' Christian Dickmann

« previous php.qa (#5034) next »