[Rivet] Compile error in Rivet 2.2.o with gcc 4.4.7

Klaus Rabbertz klaus.rabbertz at cern.ch
Mon Dec 22 18:51:24 GMT 2014


Dear developers,

while doing a fresh install into a new directory of YODA, HepMC etc. I also updated
from the previous River version to 2.2.0. However, I got the following error message
when compiling:

>   CXX      libRivetCore_la-Cuts.lo
> Cuts.cc: In function 'Rivet::Cut Rivet::Cuts::range(Rivet::Cuts::Quantity, double, double)':
> Cuts.cc:139: error: no matching function for call to 'swap(double&, double&)'
> ../../include/Rivet/Math/MathHeader.hh: At global scope:
> ../../include/Rivet/Math/MathHeader.hh:45: warning: 'Rivet::MAXINT' defined but not used
> ../../include/Rivet/Math/Constants.hh:42: warning: 'Rivet::electron_charge' defined but not used
> make[3]: *** [libRivetCore_la-Cuts.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/storage/9/rabbertz/local/src/Rivet-2.2.0/src/Core'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/storage/9/rabbertz/local/src/Rivet-2.2.0/src/Core'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/storage/9/rabbertz/local/src/Rivet-2.2.0/src'
> make: *** [install-recursive] Error 1
> 42.014u 3.721s 0:14.89 307.1%   0+0k 3168+21440io 0pf+0w
> r{src/Rivet-2.2.0> gcc --version
> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)

Best regards and Happy Xmas,

Klaus Rabbertz


More information about the Rivet mailing list