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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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