Hello,
QualityControl fails in compilation:
In file included from Framework/G__O2QualityControlTypes.cxx:32:
/home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TCollectionProxyInfo.h: In instantiation of 'static void* ROOT::Detail::TCollectionProxyInfo::Type<T>::construct(void*, std::size_t) [with T = std::vector<std::pair<o2::quality_control::FlagReason, std::__cxx11::basic_string<char> > >; std::size_t = long unsigned int]':
/home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TCollectionProxyInfo.h:569:17: required from 'static ROOT::Detail::TCollectionProxyInfo* ROOT::Detail::TCollectionProxyInfo::Generate(const T&) [with T = ROOT::Detail::TCollectionProxyInfo::Pushback<std::vector<std::pair<o2::quality_control::FlagReason, std::__cxx11::basic_string<char> > > >]'
Framework/G__O2QualityControlTypes.cxx:503:161: required from here
/home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TCollectionProxyInfo.h:335:13: error: no matching function for call to 'std::pair<o2::quality_control::FlagReason, std::__cxx11::basic_string<char> >::pair()'
335 | ::new(m) Value_t();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/vector:60,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TGenericClassInfo.h:15,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/Rtypes.h:193,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TObject.h:17,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TNamed.h:25,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TDictionary.h:44,
from /home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TClass.h:23,
from Framework/G__O2QualityControlTypes.cxx:14:
/usr/include/c++/9/bits/stl_pair.h:436:9: note: candidate: 'template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)'
436 | pair(tuple<_Args1...>&, tuple<_Args2...>&,
| ^~~~
/usr/include/c++/9/bits/stl_pair.h:436:9: note: template argument deduction/substitution failed:
In file included from Framework/G__O2QualityControlTypes.cxx:32:
/home/zampolli/SOFT/alibuild/ali-o2/sw/ubuntu2004_x86-64/ROOT/v6-20-08-alice1-2/include/TCollectionProxyInfo.h:335:13: note: candidate expects 4 arguments, 0 provided
335 | ::new(m) Value_t();
| ^~~~~~~~~~~~~~~~~~
Full log attached. AliDoctor is happy, it does not spot anything.
Thanks for any help!
Chiara
log.log (94.4 KB)