Re: buildfarm breakage

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, Michael Meskes <meskes(at)postgresql(dot)org>, zb(at)cybertec(dot)at
Subject: Re: buildfarm breakage
Date: 2010-02-09 08:39:50
Message-ID: 20100209083950.GA11123@feivel.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 08, 2010 at 08:20:04PM -0500, Tom Lane wrote:
> > MSVC builds are broken from a missing _isnan function on the ECPG tests.
> > Do we need to link in a math lib or something there?
>
> It looks to me like the problem is that that test is being compiled
> without benefit of any platform-dependent code whatsoever. In the rest
> of the system, isnan and isinf work on WIN32 because the compiles can
> see the macro definitions in port/win32.h. nan_test is apparently not
> including that. I'm not sure of Michael's plan for portability of
> these test cases --- if he doesn't want to include c.h or something
> close to that, I think the nan test has to go away.

Actually I was hoping someone with some Windows experience would take a look at
it or Zoltan would come up with a fix, after all it was his addition. :-)

Looking at the portability header file it appears that isnan/isinf are only one
line defines, so it doesn't look like a major problem adding these. I will try
fixing this, but bear with me as I have to use the buildfarm for testing. I
don't have a Windows build environment.

If someone is willing to run a test on Windows for me, please tell me.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes(at)jabber(dot)org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2010-02-09 08:54:15 Re: buildfarm breakage
Previous Message Andrew McNamara 2010-02-09 06:53:54 Re: Confusion over Python drivers