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

Re: pgevent warnings on mingw

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
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 15:39:30
Message-ID: BBA31DBD44034799A0839F8836183B60@HIRO57887DE653 (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi.

Sorry, I was not able to find the point to which you point. 

> 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)

Please see this, if the point which you suggest becomes about output image size. 
== Before ==
-rwxr-xr-x    1 HIROSHI  Administ   425977 Feb  1 00:33 pgevent.dll
== After patch. ==
-rwxr-xr-x    1 HIROSHI  Administ   425955 Feb  1 00:34 pgevent.dll

Then, new pgevent.def is this.
; C:\MinGW\bin\dlltool.exe --export-all-symbols -A --output-def pgevent.def pgevent.o pgmsgevent.o
EXPORTS
        DllRegisterServer(at)0 @ 1
        DllUnregisterServer = DllUnregisterServer(at)0 @ 2
        DllUnregisterServer(at)0 @ 3
        g_module @ 4 DATA
        DllRegisterServer = DllRegisterServer(at)0 @ 5


Regards,
Hiroshi Saito

In response to

pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2009-01-31 15:44:22
Subject: Re: [PATCH] Space reservation v02
Previous:From: Magnus HaganderDate: 2009-01-31 15:34:46
Subject: Re: mingw check hung

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