Opened 13 years ago
Closed 13 years ago
#39 closed Bug (fixed)
gcc 4.6 error
Reported by: | Andre | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | 1.9 |
Keywords: | Cc: |
Description
I could not file any reference to this error online, so I am posting it here. When compiling withh gcc 4.6, I get:
...
Compiling Utilities/HepMC/src/GenCrossSection.cc
Compiling Utilities/HepMC/src/filterEvent.cc
Compiling Utilities/HepMC/src/WeightContainer.cc
Compiling Utilities/HepMC/src/IO_GenEvent.cc
Compiling Utilities/HepMC/src/Units.cc
Compiling Utilities/HepMC/src/SearchVector.cc
Compiling Utilities/HepMC/src/Flow.cc
Compiling Utilities/HepMC/src/StreamInfo.cc
Compiling Utilities/HepMC/src/GenEvent.cc
Compiling Utilities/HepMC/src/HeavyIon.cc
Compiling Utilities/HepMC/src/StreamHelpers.cc
Compiling Utilities/HepMC/src/GenVertex.cc
Compiling Utilities/HepMC/src/GenParticle.cc
Compiling Utilities/HepMC/src/GenRanges.cc
Compiling Utilities/HepMC/src/Polarization.cc
Compiling Utilities/HepMC/src/IO_AsciiParticles.cc
Compiling Utilities/HepMC/src/GenEventStreamIO.cc
Compiling Utilities/HepMC/src/PdfInfo.cc
Compiling Utilities/HepMC/src/CompareGenEvent.cc
Compiling Utilities/mcfio/mcfio_Block.c
gcc: error: unrecognized option ‘-wd1476’
gcc: error: unrecognized option ‘-wd1572’
make: * [tmp/Utilities/mcfio/mcfio_Block.o] Error 1
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Sorry for this delayed answer, and thanks for the report. It is likely to help a buch of other users.
The problem was that ROOT had been compiled using icc, so Delphes was using ROOTCFLAGS for icc with gcc. Once I changed the compiler in Delphes' Makefile from gcc to icc, it compiled ok.