Re: PostgreSQL CVS does not compile under Cygwin (was Re: Cygwin test ...)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL CVS does not compile under Cygwin (was Re: Cygwin test ...)
Дата
Msg-id 1887.998415585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL CVS does not compile under Cygwin (was Re: Cygwin test ...)  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
Jason Tishler <jason@tishler.net> writes:
> The first attachment is the root cause of this problem.  If I revert
> pgconnection.h to version 1.11, then Cygwin PostgreSQL (i.e., libpq++)
> builds cleanly again.

Hmm.  What does it mean to attach a DLLIMPORT label to a class, anyway?
Is it meaningful to do so on Cygwin (as opposed to bare WIN32)?

> I tried to build the Win32 stuff to see if the native libpq++ would build
> cleanly without the DLLIMPORT.  Unfortunately, the Win32 build seems to
> be broken too...  See second attachment.  Note that I can build 7.1.2
> under MSVC++.  Has the procedure for 7.2 changed?

No, but libpq's CVS tip is busted on WIN32.  See ongoing discussions
about fixing errno and strerror() handling on WIN32.  One way or another
we'll have it fixed soon.

BTW, I have no idea whether libpq++ (as opposed to libpq) has ever built
on WIN32 in the past.  The changes you are mentioning seem to be a
recent attempt to make it do so, which evidently needs further thought.

            regards, tom lane

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

Предыдущее
От: "Tamara D. Blum"
Дата:
Сообщение: Installing Postrgesql 7.1.2-3
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL CVS does not compile under Cygwin (was Re: Cygwin test ...)