Thread: problem compiling current sources with gcc 2.95.1

problem compiling current sources with gcc 2.95.1

From
Oleg Bartunov
Date:
I trried to compile today's current sources and got a problem:

make[2]: Entering directory /u/postgres/cvs/pgsql/src/interfaces/libpq++'
c++ -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend   -O2 -mpentium -Wall
-Wmissing-prototypes-fpic   -c pgdatabase.cc -o pgdatabase.o
 
pgdatabase.cc: In method     `int PgDatabase::CmdTuples()':
pgdatabase.cc:66: return to     `nt' from `const char *' lacks a cast
make[2]: *** [pgdatabase.o] Error 1
make[2]: Leaving directory /u/postgres/cvs/pgsql/src/interfaces/libpq++'

I'm using gcc 2.95.1 and have no problem to compile 6.5.2
on  my Linux box 2.2.12
regards,
    Oleg

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83