fantom cannot be built with --std=c++20
I am attempting to build cds-crtools
with root_base=6.28.12
, which requires --std=c++20
flag. But it seems that fantom
cannot be built with this standard and the build fails with the following error:
In file included from /home/conda/feedstock_root/build_artifacts/cds-crtools-split_1709043938721/work/src/dtt/fantom/fantom.hh:45,
from /home/conda/feedstock_root/build_artifacts/cds-crtools-split_1709043938721/work/src/dtt/fantom/fantom.cc:11:
/home/conda/feedstock_root/build_artifacts/cds-crtools-split_1709043938721/work/src/dtt/fantom/smartio.hh:505:17: error: template-id not allowed for destructor
505 | smart_io<T>::~smart_io<T>()
| ^
make[2]: *** [src/dtt/fantom/CMakeFiles/fantom.dir/build.make:104: src/dtt/fantom/CMakeFiles/fantom.dir/fantom.cc.o] Error 1
make[2]: Leaving directory '$SRC_DIR/_build'
The full log is here if helpful.