99c6170·Author: Roland Haas·Closed by: Roland Haas·2023-06-01
Description
Cactus expects a fully functioning C++11 math library eg for isnan (in std and :: namespace). Old versions of g++ (older than 6) and any version of icpc using an old g++ libstdc++ fail a test code like:
Cactus expects a fully functioning C++11 math library eg for
isnan
(instd
and::
namespace). Old versions of g++ (older than 6) and any version of icpc using an old g++ libstdc++ fail a test code like:#include <cmath> int main() { using namespace std; float fzero = 0.f; double dzero = 0.; isnan(fzero); isnan(dzero); return 0; }
Eg gcc-4.8 on RHEL 7.9 does this (but not gcc 4.8 on a modern Debian box).