Re: pgevent warnings on mingw

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgevent warnings on mingw
Дата
Msg-id 498465AA.2010101@hagander.net
обсуждение исходный текст
Ответ на Re: pgevent warnings on mingw  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Ответы Re: pgevent warnings on mingw  (Marko Kreen <markokr@gmail.com>)
Список pgsql-hackers
Hiroshi Saito wrote:
> Hi.
> 
>>> dllwrap --def pgevent.def -o pgevent.dll pgevent.o pgmsgevent.o
>>> Warning: resolving _DllUnregisterServer by linking to
>>> _DllUnregisterServer@0
>>> Use --enable-stdcall-fixup to disable these warnings
>>> Use --disable-stdcall-fixup to disable these fixups
>>> Warning: resolving _DllRegisterServer by linking to _DllRegisterServer@0
>>> Warning: resolving _DllUnregisterServer by linking to
>>> _DllUnregisterServer@0
>>> Use --enable-stdcall-fixup to disable these warnings
>>> Use --disable-stdcall-fixup to disable these fixups
>>> Warning: resolving _DllRegisterServer by linking to _DllRegisterServer@0
>>>
>>> What do we have to do to clean this stuff up?
> 
> I was solved for Marko-san at the time of the work of pgbouncer, and
> obtained the solution.
> The patch is this.

This appears to be exactly what you are *not* supposed to do. Which is
assign an ordinal. See:
http://msdn.microsoft.com/en-us/library/8e705t74(VS.71).aspx

(that's just about the warning, there is a page somewhere with more
details, but I can't find it right now)

//Magnus



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

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: pgevent warnings on mingw
Следующее
От: Andrew Dunstan
Дата:
Сообщение: expected collation and ctype on windows?