search for: have_std_isnan_in_cmath

Displaying 3 results from an estimated 3 matches for "have_std_isnan_in_cmath".

2004 Jul 16
2
[LLVMdev] IsNAN.cpp:23:3: #error "Don't know how to get isnan()"
Hi >From: Chris Lattner <sabre at nondot.org> >Date: Thu, 15 Jul 2004 17:43:27 -0500 (CDT) >Ah, suddenly everything makes sense. If you're interested in LLVM on the >windows platform, *please* get CVS. Last night I've got the latest version of LLVM from CVS and now porting LLVM to Interix from this version on. I got this error: --------------------- gmake[1]:
2004 Oct 19
0
[LLVMdev] Visual C Patches for IsNAN.cpp and IsInf.cpp
...============================= > RCS file: /var/cvs/llvm/llvm/lib/Support/IsNAN.cpp,v > retrieving revision 1.2 > diff -u -r1.2 IsNAN.cpp > --- lib/Support/IsNAN.cpp 1 Sep 2004 22:55:35 -0000 1.2 > +++ lib/Support/IsNAN.cpp 19 Oct 2004 10:11:39 -0000 > @@ -19,6 +19,9 @@ > #elif HAVE_STD_ISNAN_IN_CMATH > # include <cmath> > using std::isnan; > +#elif defined(_MSC_VER) > +#include <float.h> > +#define isnan _isnan > #else > # error "Don't know how to get isnan()" > #endif > Index: lib/Support/IsInf.cpp > =================================...
2004 Oct 19
2
[LLVMdev] Visual C Patches for IsNAN.cpp and IsInf.cpp
I don't know if Paolo submitted his patches for these files, but they are not in the CVS -- I've chosen a slightly different strategy, adding a case that checks if the compiler is MSVC instead of adding HAVE_FINITE_IN_FLOAT_H and HAVE_ISNAN_IN_FLOAT_H to the config.h file. I don't know which is the best approach, but this is the minimal patch to make it work... m. --------------