Re: pgevent warnings on mingw - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: pgevent warnings on mingw
Date
Msg-id 498465AA.2010101@hagander.net
Whole thread Raw
In response to Re: pgevent warnings on mingw  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: pgevent warnings on mingw
List 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 by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: pgevent warnings on mingw
Next
From: Andrew Dunstan
Date:
Subject: expected collation and ctype on windows?