Re: Build broken since 9aaa062 because of missing isnan and isinf

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Build broken since 9aaa062 because of missing isnan and isinf
Date: 2015-01-29 11:34:40
Message-ID: 54CA1AD0.4050102@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2015-01-29 11:51:29 Re: Build broken since 9aaa062 because of missing isnan and isinf
Previous Message Michael Paquier 2015-01-29 07:36:20 Re: Let's get rid of premature execution