isinf() doesn't compile on MSVC because strtod() doesn't parse +INF/-INF tags (these are C99 extensions).
Created attachment 55692 [details] [review] Proposed fix Could you please try this patch and let me know if it fixes the problem?
Unfortunately, INFINITY macro is C99 too. Apart from that the patch works correctly (I tried with std::numeric_limits<float>::infinity()).
(In reply to comment #2) > Unfortunately, INFINITY macro is C99 too. Apart from that the patch works > correctly (I tried with std::numeric_limits<float>::infinity()). Ok, thanks. I've updated the patch and posted it to the mailing list for review: http://lists.freedesktop.org/archives/mesa-dev/2012-January/017739.html
Fixed in commit 4f82fed49359676fc19598f8c65ca51958dd2d79
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.