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

Поиск
Список
Период
Сортировка
От prlw1@cam.ac.uk (Patrick Welche)
Тема Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Дата
Msg-id E10icut-0004Fw-00@taurus.cus.cam.ac.uk
обсуждение исходный текст
Ответы Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/l  (Vince Vielhaber <vev@michvhf.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] postgresql bug report (fwd)
Следующее
От: David Sauer
Дата:
Сообщение: Syntax of LOCK TABLE ...