Re: pgevent warnings on mingw

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: pgevent warnings on mingw
Дата
Msg-id BBA31DBD44034799A0839F8836183B60@HIRO57887DE653
обсуждение исходный текст
Ответ на pgevent warnings on mingw  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: mingw check hung
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [PATCH] Space reservation v02