Home dir changes have broken MSVC builds

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Home dir changes have broken MSVC builds
Дата
Msg-id 41E086D1.50907@dunslane.net
обсуждение исходный текст
Ответы Re: Home dir changes have broken MSVC builds  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Recent changes to interfaces/libpg/fe-connect.c have broken MSVC builds, 
which I am reliably informed are definitely still required - at least 
some uses of libpq.dll made with gcc apparently cause the resulting 
builds or applications to blow up.

The trouble seems to come from these 2 lines:

+ #define _WIN32_IE 0x0400
+ #include <shlobj.h>

First, on MSVC, _WIN32_IE is already defined at that point. If you get 
around that then processing the include file causes errors.

I am making some more tests and will post more details shortly - problem 
first noticed by TJ Doesn'tWantToMentionHisSurname.

MinGW builds appear to be fine, though.

cheers

andrew




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: getuid() vs geteuid()
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Home dir changes have broken MSVC builds