Re: pgevent warnings on mingw - Mailing list pgsql-hackers

From Hiroshi Saito
Subject Re: pgevent warnings on mingw
Date
Msg-id BBA31DBD44034799A0839F8836183B60@HIRO57887DE653
Whole thread Raw
In response to pgevent warnings on mingw  (Andrew Dunstan <andrew@dunslane.net>)
List 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@0 @ 1       DllUnregisterServer = DllUnregisterServer@0 @ 2       DllUnregisterServer@0
@3       g_module @ 4 DATA       DllRegisterServer = DllRegisterServer@0 @ 5
 


Regards,
Hiroshi Saito


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: mingw check hung
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [PATCH] Space reservation v02