Fix some compilation warnings when building StrippingCache and TurboCache
This will suppress some of the warnings when building both functors cache. However, the following type of warnings:
# WARNING: something else configured a decoder already, Raw/Spd/Digits CaloDigitsFromRaw/SpdFromRaw
# WARNING: file '/cvmfs/lhcbdev.cern.ch/nightlies/lhcb-2018-patches/479/DBASE/TCK/L0TCK/head/options/L0DUConfig.opts' already included, ignored.
# WARNING: Property 'DataType' is set in both 'DigiConf' and 'SimConf', using 'DigiConf.DataType'
won't be fixed because they are print
(see https://gitlab.cern.ch/lhcb/LHCb/blob/2018-patches/DAQ/DAQSys/python/DAQSys/Configuration.py#L212) and not log.warning
. The fixes here should suppress them if they are changed from print
to log.warning
in the corresponding other projects, if one aims for a clean DaVinci compilation.
If the latter is appropriate or worth to be done, I can do it, just let me know.