Re: Build broken since 9aaa062 because of missing isnan and isinf - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Build broken since 9aaa062 because of missing isnan and isinf
Date
Msg-id 54CA1AD0.4050102@vmware.com
Whole thread Raw
In response to Build broken since 9aaa062 because of missing isnan and isinf  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Build broken since 9aaa062 because of missing isnan and isinf  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-odbc
On 01/29/2015 06:27 AM, Michael Paquier wrote:
> Hi,
>
> As mentioned in $subject, build of regression tests is broken on
> Windows as follows:
> .\src\common.obj
> result-conversions-test.obj : error LNK2019: unresolved external
> symbol isinf referenced in function printdouble
> result-conversions-test.obj : error LNK2019: unresolved external
> symbol isnan referenced in function printdouble
> .\src\result-conversions-test.exe : fatal error LNK1120: 2 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\Bin\amd64\cl.EXE"' : return code '0x2'
> Stop.
> I think that we are going to need something like the patch attached to
> define explicitly isnan and isinf.

Oh, thanks, fixed. I vaguely remembered that Windows doesn't have those
macros, but it actually worked on my Windows system. Maybe they've added
them to the MSVC headers recently...

- Heikki


pgsql-odbc by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Let's get rid of premature execution
Next
From: Michael Paquier
Date:
Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf