Dear experts,
I am trying to include boost histogram headers in QualityControl and get an error in the compilation. The log can be found here.
What I do specifically is to include boost/histogram.hpp
in QualityControl/Modules/TPC/include/TPC/PID.h
but I found that it is not specific to the PID.h
header. It happens also when I put the include line in any other header in QC (I tried QualityControl/Framework/include/QualityControl/TaskInterface.h
randomly).
It is also not specific to the boost/histogram.hpp
header but happens with boost/histogram*
.
Also it is not happening with everything in boost
but only boost histogram
related headers. E.g. boost/range/iterator.hpp
(chosen randomly) works. This makes sense since the problem seems to be the definition of rank
.
Adding boost/histogram
headers in any O2 header file is working without any problem.
Is there any obvious step that I am missing?
In O2 there was a problem a while ago that looks very similar to me, see here. Therefore, I ping @shahoian.
Thanks a lot for any help!
Cheers,
Thomas