<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div class="user-content-block">
<p>Hi Andy, <br>
</p>
<p>Building rivet on mac platoform with clang we are getting
following compillation error:<br>
</p>
<p>In file included from ../../include/LWH/Histogram1D.h:10,<br>
from ../../include/LWH/HistogramFactory.h:9,<br>
from ../../include/LWH/AnalysisFactory.h:10,<br>
from RivetAIDA.cc:6:<br>
../../include/LWH/Axis.h: In member function 'virtual int
LWH::Axis::coordToIndex(double) const':<br>
../../include/LWH/Axis.h:118: error: 'isnan' was not declared in
this scope<br>
../../include/Rivet/Math/MathHeader.hh: At global scope:<br>
../../include/Rivet/Math/MathHeader.hh:44: warning:
'Rivet::MAXINT' defined but not used<br>
make<span class="error">[6]</span>: *** <span class="error">[libRivetTools_la-RivetAIDA.lo]</span>
Error 1<br>
make<span class="error">[6]</span>: Target `all-am' not remade
because of errors.<br>
make<span class="error">[5]</span>: *** <span class="error">[all-recursive]</span>
Error 1<br>
</p>
<p>I have googled for it and I see that it can be solved by
specifying namespace - std::isnan . <br>
</p>
<p>Can we proceed with such patch?<br>
</p>
<p>Cheers,<br>
Dima<br>
</p>
</div>
</body>
</html>