Skip to content

CompressionSetting: replace deprecated and removed enums

Andre Sailer requested to merge sailer/Gaudi:replaceDeprecatedEnum into master

Some compression setting macros were now removed in ROOT HEAD.

cf. https://github.com/root-project/root/commit/439a26c914e3d8f26bb7864fb38b103a99d45a05#diff-8ad1217592dc0b0b55ea6e798765014a7f3d30f3433cd820ef42d4ea967c6f97R46 and https://lcgapp-services.cern.ch/cdash3/build/42718/files

[ 55%] Building CXX object RootCnv/CMakeFiles/RootCnvLib.dir/src/RootDataConnection.cpp.o
/build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/Gaudi-master/src/Gaudi/master/RootCnv/src/RootDataConnection.cpp:40:66: error: 'kLZMA' is not a member of 'ROOT'
   40 | static int s_compressionLevel = ROOT::CompressionSettings( ROOT::kLZMA, 4 );

Etc.

Is it necessary to make these changes depend on the ROOT version, or are all supported ROOT versions OK?

Merge request reports

Loading