Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group