pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: prlw1@cam.ac.uk
To: oleg@sai.msu.su
To: tgl@sss.pgh.pa.us
To: maillist@candle.pha.pa.us
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Date: Sat, 15 May 1999 12:47:43 +0100 (BST)
Message-ID: <E10icut-0004Fw-00@taurus.cus.cam.ac.uk> (raw)

Oleg Bartunov <oleg@sai.msu.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



view thread (8+ messages)  latest in thread

Message-ID: <E10icut-0004Fw-00@taurus.cus.cam.ac.uk>
Permalink:  ../E10icut-0004Fw-00@taurus.cus.cam.ac.uk/
Also on:    postgresql.org/message-id/E10icut-0004Fw-00@taurus.cus.cam.ac.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: prlw1@cam.ac.uk, oleg@sai.msu.su, tgl@sss.pgh.pa.us, maillist@candle.pha.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
  In-Reply-To: <E10icut-0004Fw-00@taurus.cus.cam.ac.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox