<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Andy,</p>
    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):
    <p>david@yallup:~$ gcc --version<br>
      gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609<br>
    </p>
    <p>Which does surprise me a little if this isn't handling some C++11
      structures? <br>
    </p>
    <p>Cheers,<br>
      David<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 17/07/18 20:48, Andy Buckley wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:1531849378.local-5bb91d6f-b033-v1.3.0-fd741eb7@getmailspring.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <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 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>
        </signature></div>
      <div class="gmail_quote_attribution">On Jul 17 2018, at 6:40 pm,
        David Yallup <a class="moz-txt-link-rfc2396E" href="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 class="moz-txt-link-freetext" href="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 class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a></div>
          <div><a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></div>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>