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

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

From: prlw1(at)cam(dot)ac(dot)uk (Patrick Welche)
To: oleg(at)sai(dot)msu(dot)su (Oleg Bartunov), tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane), maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Date: 1999-05-15 11:47:43
Message-ID: E10icut-0004Fw-00@taurus.cus.cam.ac.uk (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>

My fault. I was using

gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

when creating the above patches. However, please make the above
correct change, as all <iostream> does is to include <iostream.h> and
similarly <strstream> just includes <strstream.h>. I think the meaning
is deeper with other compilers, but with egcs they are just aliases. I
did, as Tom Lane puts it, just break it without thinking.

Cheers,

Patrick

Responses

pgsql-hackers by date

Next:From: David SauerDate: 1999-05-15 12:43:07
Subject: Syntax of LOCK TABLE ...
Previous:From: Bruce MomjianDate: 1999-05-15 09:12:03
Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/

pgsql-interfaces by date

Next:From: Frans van ElsackerDate: 1999-05-15 13:10:09
Subject: subscribe
Previous:From: Patrick WelcheDate: 1999-05-15 11:38:14
Subject: Re: [INTERFACES] libpq++ and arrays?

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