Commit f525db63 authored by Pierre Moreau's avatar Pierre Moreau Committed by Jose Fonseca

nv50/ra: `isinf()` is in namespace `std` since C++11.

This fixes a compile error while building Nouveau with C++11 enabled (and
glibc >= 2.23). This happens if SWR is enabled, as it forces C++11.
Signed-off-by: default avatarPierre Moreau <>
Signed-off-by: default avatarJose Fonseca <>
parent fa46848e
......@@ -1327,7 +1327,11 @@ GCRA::simplify()
bestScore = score;
#if __cplusplus >= 201103L
if (std::isinf(bestScore)) {
if (isinf(bestScore)) {
ERROR("no viable spill candidates left\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment