Skip to content

Workaround for ROOT bug discussed in ATR-20273

Stewart Martin-Haugh requested to merge smh/athena:root_bug_workaround into master

Workaround a ROOT bug - fixes (apparently harmless) autoparse failure

libxAODPFlowDict dictionary forward declarations' payload:7:177: error: enumeration previously declared with nonfixed underlying type
namespace xAOD{namespace PFODetails{enum  __attribute__((annotate("$clingAutoload$xAODPFlow/PFODefs.h")))  __attribute__((annotate("$clingAutoload$xAODPFlow/PFOContainer.h"))) PFOLeptonType : unsigned int;}}
                                                                                                                                                                                ^
/cvmfs/atlas-nightlies.cern.ch/repo/sw/master/2020-03-06T2133/Athena/22.0.12/InstallArea/x86_64-centos7-gcc8-opt/include/xAODPFlow/PFODefs.h:179:8: note: previous declaration is here
  enum PFOLeptonType{
       ^
Warning in <TInterpreter::TCling::RegisterModule>: Problems in compiling forward declarations for module libxAODPFlowDict: '

which can lead to bugs being misclassified.

Cheers,

Stewart

Merge request reports