Re: pgevent warnings on mingw

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

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

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

//Magnus

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-01-31 15:23:32 expected collation and ctype on windows?
Previous Message Hiroshi Saito 2009-01-31 14:47:38 Re: pgevent warnings on mingw