<div>Hi David,</div><br><div>What platform is this on? I found the same problem on SL7 without a "modern compiler" override of the native environment: looks like the required bit of C++11 is not supported in GCC 4.8.5.</div><br><div>Since this enhancement of Particles over the previous "typedef vector<Particle>" is syntactic sugar, and lots of people expect Rivet to build (not 100% unreasonably, despite not being an official HEP platform) on vanilla SL7, I think we probably have to postpone that change for a future version. Maybe reasonable for v3.</div><br><div>Andy</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr><td style="vertical-align:top;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On Jul 17 2018, at 6:40 pm, David Yallup <david.yallup@cern.ch> wrote:</div><blockquote><br><div><div>Hi All,</div><br><div>This is probably down to something I'm messing up but I was wondering if</div><div>anyone has had any problems building the latest 2-6-x branch recently?</div><br><div>Specifically when I update to revision 6377 (current tip) I get a series</div><div>of errors all pertaining to Rivet::Particles</div><br><div>In file included from ../../include/Rivet/AnalysisHandler.hh:6:0,</div><div>                 from Run.cc:3:</div><div>../../include/Rivet/Particle.hh: In constructor</div><div>‘Rivet::Particle::Particle(const HepMC::GenParticle&)’:</div><div>../../include/Rivet/Particle.hh:53:32: error: no matching function for</div><div>call to ‘Rivet::Particles::Particles()’</div><div>         _momentum(gp.momentum())</div><br><br><div>This is updating from revision 6250 (also on the 2-6-x branch) where</div><div>everything built fine (which makes me think I'm doing something too</div><div>stupid!). It looks like my compiler disagrees with the changes from</div><br><div>https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120</div><br><br><div>If others have had no trouble with recent builds of rivet I will go back</div><div>to the drawing board but thought I would check with others first.</div><br><div>Thanks,</div><div>David</div><br><br><br><div>_______________________________________________</div><div>Rivet mailing list</div><div>Rivet@projects.hepforge.org</div><div>https://www.hepforge.org/lists/listinfo/rivet</div></div></blockquote>