Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Date: 1999-05-15 09:12:03
Message-ID: 199905150912.FAA11509@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
> Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:
> > To compile postgres using gcc 2.7.2.1 I had to modify 2 files
> >  src/interfaces/libpq++/pgconnection.cc
> >  src/interfaces/libpq++/pgenv.h
> > Particularly, 
> > #include <iostream> to #include <iostream.h>
> > #include <strstream> to #include <strstream.h>
> 
> I am seeing the same thing here with gcc 2.7.2.2.  We need to adopt
> a considered policy about whether libpq++ will still support gcc 2.7.*,
> not just break it without thinking.
> 
> I'd vote for still supporting 2.7.*, but I know that the C++ library
> shipped with this gcc release is not real up-to-date.  It may not be
> practical to support both latest-C++-spec compilers and the older
> generation; I'm not sure what the issues are.
> 
> If the conclusion is "no", then the configure script ought to be
> changed to not try to build libpq++ unless up-to-date libraries
> are available.

The addition/removal of '.h' has happened before.  Some need it, some
can't handle it.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: Patrick WelcheDate: 1999-05-15 11:47:43
Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Previous:From: Bruce MomjianDate: 1999-05-15 09:10:51
Subject: Re: [HACKERS] postgresql bug report (fwd)

pgsql-interfaces by date

Next:From: Patrick WelcheDate: 1999-05-15 11:38:14
Subject: Re: [INTERFACES] libpq++ and arrays?
Previous:From: leifDate: 1999-05-15 08:34:45
Subject: [INTERFACES] MSAccess and primary keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group