<div>That surprises me. Maybe what I did was too much C++11 for some compilers, and not quite compliant for later, stricter ones? But then it works ok on my GCC 7.3.0...</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 8:41 pm, David Yallup <david.yallup@cern.ch> wrote:</div><blockquote><br><div><br><div>Hi Andy,</div><div>I'm using what should be a fairly up to date compiler set on my laptop for this for now (although I do need to configure this on our SL6/CentOS7 clusters at some point):</div><div><div>david@yallup:~$ gcc --version</div><div>gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609</div></div><br><div><div>Which does surprise me a little if this isn't handling some C++11 structures?</div></div><br><div><div>Cheers,</div><div>David</div></div><br><div><div>On 17/07/18 20:48, Andy Buckley wrote:</div></div><blockquote><br><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><div><div><table cellspacing="0" cellpadding="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;"><br></td><td><br></td></tr></tbody></table></div></div></div><div>On Jul 17 2018, at 6:40 pm, David Yallup <a href="mailto:david.yallup@cern.ch" title="mailto:david.yallup@cern.ch"><david.yallup@cern.ch></a> 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><a href="https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120" title="https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120">https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120</a></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><a href="mailto:Rivet@projects.hepforge.org" title="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a></div><div><a href="https://www.hepforge.org/lists/listinfo/rivet" title="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></div></div></blockquote></blockquote></div></blockquote>