[Rivet] [Rivet-svn] r3042 - trunk/include/Rivet

Hendrik Hoeth hendrik.hoeth at cern.ch
Mon Apr 4 16:55:16 BST 2011


Hi,

> Log:
> fix incompatibility between HepMC and boost that surfaced with
> gcc-4.6. There is probably more in the bag; same file.

after compiling Rivet and its dependencies with gcc-4.6 I got a segfault
in the InitialQuarks projection. It turned out that this was due to the
way the particles_in vector was constructed and how boost's foreach
handled it. David and I fixed the problem for particles_in and
particles_out (see the diff), but we don't trust "particles" and
"vertices", either. The code I added as a comment doesn't compile. Any
boost experts who can have a look?

Cheers,

   Hendrik

-- 
It pays to be obvious, especially if you have
a reputation for subtlety.    -- Isaac Asimov


More information about the Rivet mailing list