|
[Rivet] Compile error in Rivet 2.2.o with gcc 4.4.7Chris Pollard cpollard at cern.chTue Jan 6 10:48:37 GMT 2015
Hi Klaus, Andy, I think I've run into something similar before. Klaus, can you try changing swap() call at line Cuts.cc:139 to std::swap() (i.e. make the namespace explicit?). I seem to remember this fixing some issues. Chris On Tue, Jan 6, 2015 at 1:11 AM, Andy Buckley <andy.buckley at cern.ch> wrote: > Hi Klaus, > > Just keeping this one alive -- 22nd Dec was deep in the dead zone! I > have no idea why this would have caused a problem. Compiles fine for me > and everyone else that I know of, on lots of platforms. Hmm... > > Andy > > > On 22/12/14 18:51, Klaus Rabbertz wrote: > > 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 > > _______________________________________________ > > Rivet mailing list > > Rivet at projects.hepforge.org > > https://www.hepforge.org/lists/listinfo/rivet > > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow / PH Dept, CERN > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20150106/b206ab52/attachment.html>
More information about the Rivet mailing list |