Closed GoogleCodeExporter closed 9 years ago
Thanks for the heads-up. We don't have an OS X machine on for testing, but I've
rewritten the macros in a way that shouldn't depend on how is* are implemented
(though I admit I'm confused why the EXPECT macros were having trouble -- they
should
deal fine with isnan being a macro). This fix will go out with the next
release.
Original comment by csilv...@gmail.com
on 25 Apr 2007 at 10:31
Original comment by csilv...@gmail.com
on 25 Apr 2007 at 10:31
I looked into this a bit more, and it seems like OS X has a buggy math.h
implementation, particularly for isnan:
http://www.lemurproject.org/phorum/read.php?11,1702
So I'm not sure my fix will actually fix things. Can you clarify exactly what
errors
you got trying to use this on OS X, what version of OS X you were using, what
compiler version you were using, and what "quick fixes" you made?
Thanks!
craig
Original comment by csilv...@gmail.com
on 25 Apr 2007 at 11:24
} So I'm not sure my fix will actually fix things.
Never mind, I got my hands on a darwin machine and tested out my fix, and it
works
fine (the problem was, indeed, solely that the gflags code assumed isinf was a
function, when in darwin it's a macro). So this should be fixed in the next
release.
Original comment by csilv...@gmail.com
on 27 Apr 2007 at 10:13
I just released gflags 0.5, which should fix this problem.
Original comment by csilv...@gmail.com
on 13 Jun 2007 at 12:36
0.5 does indeed fix this issue.
thanks!
chris
Original comment by crispywa...@gmail.com
on 21 Jun 2007 at 9:49
Original issue reported on code.google.com by
crispywa...@gmail.com
on 25 Apr 2007 at 10:08