problem compiling current sources with gcc 2.95.1 - Mailing list pgsql-hackers

From Oleg Bartunov
Subject problem compiling current sources with gcc 2.95.1
Date
Msg-id Pine.GSO.3.96.SK.991001160854.16613b-100000@ra
Whole thread Raw
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Christof Petig
Date:
Subject: Re: [HACKERS] Regression tests on intel for 6.5.2
Next
From: SAKAIDA Masaaki
Date:
Subject: Re: [HACKERS] pgbash-1.1.1 release