Re: Fix MSVC isnan warning from e80252d4

Lists: pgsql-hackers
From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix MSVC isnan warning from e80252d4
Date: 2014-09-11 09:52:32
Message-ID: CAApHDvoBUUHcFgDwS=+p97K_DOjTND18D-NGafFBN3Uoj8idbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

The attached small patch fixes the following warning:

src\backend\utils\adt\arrayfuncs.c(5613): warning C4013: '_isnan'
undefined; assuming extern returning int [D:\Postgres\a\postgres.vcxproj]

The fix is pretty much just a copy and paste from costsize.c

Regards

David Rowley

Attachment Content-Type Size
isnan_msvc_fix.patch application/octet-stream 380 bytes

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix MSVC isnan warning from e80252d4
Date: 2014-09-11 10:52:44
Message-ID: 54117EFC.2000008@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 09/11/2014 12:52 PM, David Rowley wrote:
> The attached small patch fixes the following warning:
>
> src\backend\utils\adt\arrayfuncs.c(5613): warning C4013: '_isnan'
> undefined; assuming extern returning int [D:\Postgres\a\postgres.vcxproj]
>
> The fix is pretty much just a copy and paste from costsize.c

Thanks, committed.

- Heikki