Bug #3860: 4.0b4pl1/Apache 1.3.12/gd/ttf/mysql: Several compiler warnings, got it running

From: Date: Fri, 17 Mar 2000 18:44:12 +0000
Subject: Bug #3860: 4.0b4pl1/Apache 1.3.12/gd/ttf/mysql: Several compiler warnings, got it running
Groups: php.dev 
Request: Send a blank email to php-dev+get-16960@lists.php.net to get a copy of this message
From: ime@iae.nl Operating system: Linux 2.2.5/i686 PHP version: Earlier? Upgrade first! PHP Bug Type: Compile Warning Bug description: 4.0b4pl1/Apache 1.3.12/gd/ttf/mysql: Several compiler warnings, got it running Bug on bugs.php.net: in the list of php versions, there is no 4.0... I tried to install php-4.0b4pl1 with Apache 1.3.12, mod_perl 1.22 and Apache::ASP on a Linux 2.2.5-15 i686 which once used to be RedHat 6.0, but has been patched a lot. I got things running correctly without any errors, but php4 gave several compiler warnings. Ime -- [ime@fatbird php-4.0b4pl1]$ ./configure --with-ttf --with-exec=/www --enable-safe-mode --with-gd --enable-track-vars --with-config-file-path=/etc --with-mysql --enable-memory-limit --with-apache=../apache_1.3.12 loading cache ./config.cache Running system checks ... Generating files All ok. [ime@fatbird php-4.0b4pl1]$ make Making all in Zend make[1]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c zend-scanner.c zend-scanner.c:5728: warning: `yy_fatal_error' defined but not used zend-scanner.c:5713: warning: `yy_top_state' defined but not used ... Making all in gd make[2]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/ext/gd' make[3]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/ext/gd' gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/gd -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -D_REENTRANT -g -O2 -Wall -c gd.c && touch gd.lo gd.c: In function `php_if_imagecreatefromgif': gd.c:537: warning: implicit declaration of function `gdImageCreateFromGif' gd.c:537: warning: assignment makes pointer from integer without a cast gd.c: In function `php_if_imagegif': gd.c:589: warning: implicit declaration of function `gdImageGif' ... Making all in mysql ... gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/pcre/pcrelib -I../../.. -I../../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -D_REENTRANT -g -O2 -Wall -c pcre.c && touch pcre.lo pcre.c: In function `compile_branch': pcre.c:657: warning: `c' might be used uninitialized in this function ... Making all in standard gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/standard -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -D_REENTRANT -g -O2 -Wall -c image.c && touch image.lo image.c: In function `php_handle_jpeg': image.c:215: warning: `marker' might be used uninitialized in this function ... Making all in apache ... gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/sapi/apache -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -D_REENTRANT -g -O2 -Wall -c mod_php4.c && touch mod_php4.lo mod_php4.c: In function `send_php': mod_php4.c:403: warning: argument filename' might be clobbered by longjmp' or `vfork' ... Making all in regex ... Making all in . ... gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/. -I. -I./Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -D_REENTRANT -g -O2 -Wall -c configuration-scanner.c && touch configuration-scanner.lo configuration-scanner.c:652: warning: return-type defaults to `int' configuration-scanner.c: In function `cfglex': configuration-scanner.c:720: warning: label `find_rule' defined but not used configuration-scanner.c: At top level: configuration-scanner.c:1790: warning: `yy_flex_realloc' defined but not used configuration-scanner.c:1273: warning: `yyunput' defined but not used ... [ime@fatbird php-4.0b4pl1]$

« previous php.dev (#16960) next »