Re: narwhal and PGDLLIMPORT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: narwhal and PGDLLIMPORT
Дата
Msg-id 17405.1391901130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: narwhal and PGDLLIMPORT  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I think that there's a small problem with your patch, namely that you
> made the explicit PGDLLEXPORT definition empty, but that's currently
> used in fmgr.h for the function and module magic, I think we actually
> need those to be __declspec(dllexport)ed when building an extension,
> right?

The comment next to that says that we're relying on --export-all.
If PGDLLEXPORT were being used for other contrib-module functions,
you would have a point, but AFAICS no one ever bothered.

(If this patch works, we could go around and clean up stuff like
that, but that's a bit premature at this point...)
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Changeset Extraction v7.5
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Changeset Extraction v7.5