[Rivet] minor patch for Rivet for gcc45/c++0x

Peter Elmer Peter.Elmer at cern.ch
Fri Feb 11 12:43:37 GMT 2011


  Hi Hendrik,

On Fri, Feb 11, 2011 at 12:35:21PM +0000, Hendrik Hoeth wrote:
> you can reach all Rivet developers at <rivet at projects.hepforge.org>.
> Please use that address rather than writing to individual people.
> 
> About your question:
> 
> Thus spake Peter Elmer (Peter.Elmer at cern.ch):
> 
> > In CMS we are applying a minor patch on top of Rivet 1.4.0 (and were
> > applying on top of 1.3.0) in order to compile with gcc45 when we
> > enable support for c++0x (i.e. -std=c++0x):
> > 
> > http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/COMP/CMSDIST/rivet-1.3.0-make_pair-fix.patch?revision=1.1&view=markup
> >
> > Could you guys consider including this patch in your code repo for the
> > next version of Rivet?
> 
> I just compiled Rivet with -std=c++0x using gcc-4.5.1 and didn't get an
> error or even a warning. So I'm wondering ... what exactly is this fix
> supposed to fix?

  It is a .hh file. The compilation error came out when we included that 
header in our own code. Perhaps it is never included and compiled inside
of Rivet itself?

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: Peter.Elmer at cern.ch      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------


More information about the Rivet mailing list