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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Дата
Msg-id 16288.926719191@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 6.5 cvs: problem with includes in src/interfaces/libpq++/  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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>

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.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] rules regression test
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] postgresql bug report (fwd)