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