Re: pgevent warnings on mingw

From: Marko Kreen <markokr(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgevent warnings on mingw
Date: 2009-01-31 20:32:37
Message-ID: e51f66da0901311232r325b661ah321c3848ba0d6298@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/31/09, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Hiroshi Saito wrote:
> > Hi.
> >
> >>> dllwrap --def pgevent.def -o pgevent.dll pgevent.o pgmsgevent.o
> >>> Warning: resolving _DllUnregisterServer by linking to
> >>> _DllUnregisterServer(at)0
> >>> Use --enable-stdcall-fixup to disable these warnings
> >>> Use --disable-stdcall-fixup to disable these fixups
> >>> Warning: resolving _DllRegisterServer by linking to _DllRegisterServer(at)0
> >>> Warning: resolving _DllUnregisterServer by linking to
> >>> _DllUnregisterServer(at)0
> >>> Use --enable-stdcall-fixup to disable these warnings
> >>> Use --disable-stdcall-fixup to disable these fixups
> >>> Warning: resolving _DllRegisterServer by linking to _DllRegisterServer(at)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-01-31 20:32:43 Re: Hot standby, recovery infra
Previous Message Heikki Linnakangas 2009-01-31 19:56:26 Re: [PATCH] Space reservation v02