Re: gettimeofday cause crash on Windows - Mailing list pgsql-bugs

From Robert Haas
Subject Re: gettimeofday cause crash on Windows
Date
Msg-id CA+TgmoaCzvaFEFLHGH=o4vi90zZooh_NtOt-uEu_NAex7QVfdA@mail.gmail.com
Whole thread Raw
In response to Re: gettimeofday cause crash on Windows  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: gettimeofday cause crash on Windows  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
On Sat, Feb 21, 2015 at 12:20 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Feb 12, 2015 at 9:59 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> I looked at your patch and tested it with msvc and it looks good to me.
>
> Committed with cosmetic adjustments.  Hopefully one of you fine
> gentlemen will jump in to help if this turns out to break, because I
> don't do Windows.

currawong doesn't like this:

"c:\prog\bf\root\HEAD\pgsql.build\pgsql.sln" (default target) (1) ->
(postgres target) ->
  .\src\port\gettimeofday.c(53): error C2440: 'initializing' : cannot
convert from 'void (__cdecl *)(LPFILETIME)' to 'PgGetSystemTimeFn'


"c:\prog\bf\root\HEAD\pgsql.build\pgsql.sln" (default target) (1) ->
(misc\libpgport target) ->
  .\src\port\gettimeofday.c(53): error C2440: 'initializing' : cannot
convert from 'void (__cdecl *)(LPFILETIME)' to 'PgGetSystemTimeFn'

    0 Warning(s)
    2 Error(s)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: gettimeofday cause crash on Windows
Next
From: Robert Haas
Date:
Subject: Re: gettimeofday cause crash on Windows