I am using GCC 5.4 and getting 'isnan' was not declared in this scope error. I found <cmath> hides isnan in <math.h> in C++14 / C++11?.
'isnan' was not declared in this scope
but I have to keep the GCC version, without modifying the source which uses isnan, and C++14 standard. so I want to know any trick to solve it.
isnan
for example: define isnan=std::isnan as compile -D argument?
2.1m questions
2.1m answers
60 comments
57.0k users