mesa: 91e3533481d6921c4b46109742d6f67b7f897f86 (master 10.6.0-devel)
Oracle Studio build error
"builtin_functions.cpp", line 3218: Error: INFINITY is not defined.
Author: Matt Turner <email@example.com>
Date: Mon Jan 12 22:35:53 2015 -0800
glsl: Use INFINITY instead of std::numeric_limits<float>::infinity().
Reviewed-by: Jose Fonseca <firstname.lastname@example.org>
Does this problem still exist?
Adding Alan to CC in case he has a suggestion.
Sorry, I don't have enough context here, but on Solaris, INFINITY is defined
via math.h headers, but wrapped in:
#if defined(_STDC_C99) || _XOPEN_SOURCE - 0 >= 600 || defined(__C99FEATURES__)
but as C++ is pure evil, I don't know if it corrupts this somehow.
As of 51564f04b77e6d Oracle Studio is not longer supported in Mesa.