[Rivet] rivet on mac with clang.

Dmitri Konstantinov Dmitri.Konstantinov at cern.ch
Tue May 14 17:17:19 BST 2013


Hi Andy,

Building rivet on mac platoform with clang we are getting following 
compillation error:

In file included from ../../include/LWH/Histogram1D.h:10,
from ../../include/LWH/HistogramFactory.h:9,
from ../../include/LWH/AnalysisFactory.h:10,
from RivetAIDA.cc:6:
../../include/LWH/Axis.h: In member function 'virtual int 
LWH::Axis::coordToIndex(double) const':
../../include/LWH/Axis.h:118: error: 'isnan' was not declared in this scope
../../include/Rivet/Math/MathHeader.hh: At global scope:
../../include/Rivet/Math/MathHeader.hh:44: warning: 'Rivet::MAXINT' 
defined but not used
make[6]: *** [libRivetTools_la-RivetAIDA.lo] Error 1
make[6]: Target `all-am' not remade because of errors.
make[5]: *** [all-recursive] Error 1

I have googled for it and I see that it can be solved by specifying 
namespace - std::isnan .

Can we proceed with such patch?

Cheers,
   Dima

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20130514/81f9b253/attachment.html>


More information about the Rivet mailing list