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

From Marko Kreen
Subject Re: pgevent warnings on mingw
Date
Msg-id e51f66da0901311232r325b661ah321c3848ba0d6298@mail.gmail.com
Whole thread Raw
In response to Re: pgevent warnings on mingw  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pgevent warnings on mingw  (Marko Kreen <markokr@gmail.com>)
List pgsql-hackers
On 1/31/09, Magnus Hagander <magnus@hagander.net> wrote:
> 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

AFAICS by default the mingw assigns the ordinal anyway?

So whats your point?

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

I found this:
 http://www.geocities.com/yongweiwu/stdcall.htm

which definitely has too much detail...

-- 
marko


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Space reservation v02
Next
From: Heikki Linnakangas
Date:
Subject: Re: Hot standby, recovery infra