From e090917ca08f976cdcd5b11b5e3370377b9cf8a9 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Fri, 16 Dec 2016 10:07:32 +0000 Subject: [PATCH] MCOL-471 Fix GCC 6.3 support isnan requires std:: namespace --- utils/funcexp/functor_str.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/funcexp/functor_str.h b/utils/funcexp/functor_str.h index ab6f3631e..e3c97cca8 100644 --- a/utils/funcexp/functor_str.h +++ b/utils/funcexp/functor_str.h @@ -108,7 +108,7 @@ protected: } exponent = (int)floor(log10( fabs(floatVal))); base = floatVal * pow(10, -1.0*exponent); - if (isnan(exponent) || isnan(base)) + if (std::isnan(exponent) || std::isnan(base)) { snprintf(buf, 20, "%f", floatVal); fFloatStr = execplan::removeTrailing0(buf, 20);