[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cquad.cc compilation error: INFINITY undefined

From: Michael Goffioul
Subject: Re: cquad.cc compilation error: INFINITY undefined
Date: Wed, 3 Nov 2010 08:02:34 +0000

On Wed, Nov 3, 2010 at 7:29 AM, John W. Eaton <address@hidden> wrote:
> Hmm.  There is a copysign module in gnulib, but from looking at it, I
> can't tell for sure whether it will actually provide copysign if it is
> not available (it doesn't look like it does).  And in any case, we
> aren't using it.  But I would rather use it (and fix gnulib if
> necessary) than use a define as above, even though I see we already
> have at least one source file that uses a define for copysign.
> To be consistent, I checked in the following change:
>  http://hg.savannah.gnu.org/hgweb/octave/rev/a512c537b38e


> But I would rather use the copysign module from gnulib and if that
> isn't sufficient, then we should fix gnulib to provide copysign if it
> doesn't exist.

I agree. Though I know by experience that if the issue only occurs on
MSVC, it's not gonna be fixed in gnulib. Looking at the gnulib module
for copysign, it seems it only checks whether copysign exists and
requires -lm.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]