Re: [GENERAL] Building tds_fdw Extension for Windows 64bit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Building tds_fdw Extension for Windows 64bit
Дата
Msg-id 28459.1509637214@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Building tds_fdw Extension for Windows 64bit  ("Igal @ Lucee.org" <igal@lucee.org>)
Ответы Re: [GENERAL] Building tds_fdw Extension for Windows 64bit
Список pgsql-general
"Igal @ Lucee.org" <igal@lucee.org> writes:
> Any other ideas?

It looks to me like MSVC is complaining about the PGDLLEXPORT
markings that tds_fdw.c has on the function definitions
(not the extern declarations).  In the core code we only put
PGDLLEXPORT in extern declarations ... so try keeping it in
the externs and removing it from the .c file.

You may still get warnings that way, which I think you probably
have to live with, unless you want to make a .DEF file or use
--export-all-symbols as a substitute for PGDLLEXPORT'ing specific
functions.  For some sorry history around this see

https://www.postgresql.org/message-id/flat/A737B7A37273E048B164557ADEF4A58B539300BD%40ntex2010a.host.magwien.gv.at
        regards, tom lane


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: "Igal @ Lucee.org"
Дата:
Сообщение: Re: [GENERAL] Building tds_fdw Extension for Windows 64bit
Следующее
От: Mark Fletcher
Дата:
Сообщение: [GENERAL] Logical decoding error