Failing tests with GCC 12 due to stderr from cppyy
cppyy.include("Detector/Calo/DeCalorimeter.h")
return cppyy.gbl.LHCb.Detector.Calo.DeCalorimeterLocation
else:
cppyy.include("CaloDet/DeCalorimeter.h")
return cppyy.gbl.DeCalorimeterLocation
causes
In file included from input_line_21:1:
In file included from /home/rmatev/stack/Detector/InstallArea/x86_64_v2-centos7-gcc12-opt/include/Detector/Calo/DeCalorimeter.h:14:
In file included from /home/rmatev/stack/Detector/InstallArea/x86_64_v2-centos7-gcc12-opt/include/Core/DeIOV.h:14:
In file included from /home/rmatev/stack/Detector/InstallArea/x86_64_v2-centos7-gcc12-opt/include/Core/Utils.h:15:
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/yaml.h:17:
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/impl.h:12:
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/detail/node.h:12:
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/detail/node_ref.h:13:
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/detail/node_data.h:17:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/detail/node_iterator.h:56:19: warning: 'iterator<std::forward_iterator_tag, YAML::deta
il::node_iterator_value<YAML::detail::node>, long, YAML::detail::node_iterator_value<YAML::detail::node> *, YAML::detail::node_iterator_value<YAML::detail::node> >' is deprecated [-Wdeprecat
ed-declarations]
: public std::iterator<std::forward_iterator_tag, node_iterator_value<V>,
^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/yamlcpp/0.6.3-d05b2/x86_64-centos7-gcc12-opt/include/yaml-cpp/node/detail/iterator.h:90:13: note: in instantiation of template class 'YAML::detail::node_
iterator_base<YAML::detail::node>' requested here
base_type m_iterator;
^
/cvmfs/sft.cern.ch/lcg/releases/gcc/12.1.0-57c96/x86_64-centos7/include/c++/12.1.0/bits/stl_iterator_base_types.h:127:12: note: 'iterator<std::forward_iterator_tag, YAML::detail::node_iterat
or_value<YAML::detail::node>, long, YAML::detail::node_iterator_value<YAML::detail::node> *, YAML::detail::node_iterator_value<YAML::detail::node> >' has been explicitly marked deprecated he
re
struct _GLIBCXX17_DEPRECATED iterator
^
/cvmfs/sft.cern.ch/lcg/releases/gcc/12.1.0-57c96/x86_64-centos7/include/c++/12.1.0/x86_64-pc-linux-gnu/bits/c++config.h:119:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
# define _GLIBCXX17_DEPRECATED [[__deprecated__]]
^