octave-maintainers
[Top][All Lists]
Advanced

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

cquad.cc compilation error: INFINITY undefined


From: John W. Eaton
Subject: cquad.cc compilation error: INFINITY undefined
Date: Tue, 2 Nov 2010 19:15:50 -0400

On  2-Nov-2010, Michael Goffioul wrote:

| I reached a compilation error with MSVC in cquad.cc, because INFINITY is
| not defined. Looking on the web, it seems that something like
| 
| #ifndef INFINITY
| #define INFINITY octave_Float_Inf
| #endif
| 
| Could anybody confirm this is functionally equivalent?

Yes, except that I don't see any float values in cquad, only doubles
so I think you want octave_Inf, not octave_Float_Inf.

I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/c08e9d4e54c7

jwe


reply via email to

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