Bug #15759 Updated: pgsql.c void value not ignored as it ought to be

From: Date: Sat, 13 Apr 2002 16:36:51 +0000
Subject: Bug #15759 Updated: pgsql.c void value not ignored as it ought to be
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4891@lists.php.net to get a copy of this message
ID: 15759 Updated by: yohgaki@php.net Reported By: pdon@uia.ua.ac.be -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.1.1 New Comment: Pieter, Sorry, it does not make sense to support PostgreSQL 6.3.x for PHP 4.1.x or later... Even 6.5.3 has critical bug, AFAIK. I strongly suggest you to upgrade to 7.0.3, at least. If you send patch against CVS version, I might apply if it does not anything bad to newer releases. -- Yasuo Previous Comments: ------------------------------------------------------------------------ [2002-02-28 04:44:03] pdon@uia.ua.ac.be My PostgreSQL is indeed rather old (version 6.3.2) but so far it always worked well. A newer version (7.2 latest) will probably force me to setup a new database of users etc... Would there be another work arround ? Pieter ------------------------------------------------------------------------ [2002-02-28 03:28:27] yohgaki@php.net You have something wrong in your libpq. The line contains something like result = PQputline(.....); and PQputline's prototype is int PQputline(PGconn *conn, const char *string); What is your libpq version? (PostgreSQL version?) ------------------------------------------------------------------------ [2002-02-27 05:25:22] pdon@uia.ua.ac.be Downloaded Apache_1.3.23, PHP_4.1.1 (=matest versions) Env. vars set: INFORMDIR=/home/informix2000 PATH=/home/informix2000/bin:$PATH LD_LIBRARY_PATH=/home/informix2000/lib/esql:$LD_LIBRARY_PATH LIBRARY_PATH=/home/informix2000/lib/esql:$LIBRARY_PATH SQLEXEC= export INFORMIXDIR PATH LD_LIBRARY_PATH LIBRARY_PATH SQLEXEC Unpacked apache-1.3.23, did a # ./configure --prefix=/usr/local/apache_1323 Unpacked php_4.1.1, did a # ./configure --with-apache=/home/wins/cosslocal/src/other/apache_1.3.23 \ --with=pgsql \ --with-informix=/home/informix2000 \ --enable-yp (we have PGSQL in /usr/local/pgsql and INFORMIX2000 up and running) then did a # make ... at the gcc compile of pgsql.c I get: pgsql.c: In function 'zif_pg_put_line': pgsql.c:849: void value not ignored as it ought to be make[3]: *** [pgsql.lo] Error 1 ... I didn't have that error with our previous apache_1.3.14 and PHP4.0.4pl1 compilation (with the same PGSQL and INFORMIX2000) At line 849 in pgsql.c I don't find zif_pg_put_line, substring 'zif' is nowhere in pgsql.c ... Pieter ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15759&edit=1

« previous php.bugs (#4891) next »