Subject: Re: Anyone working on KDE4?
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 05/19/2007 00:12:47
On Fri, May 18, 2007 at 11:06:18PM +0100, Raymond Meyer wrote:
> Well I Googled and turns out others hade similar problems with isinf on
> Solaris. Something to do with GCC optimising calls to isinf during configure
> tests, so that it returns 0 and it appears as if isinf is implemented. I'll
> look at it in more details when I've got time.

Change the code to use a global variable as argument like:

#include <math.h>

double foo;

int main()
{
	return isinf(foo);
}

I have no idea what got commited to CVS.

Joerg