Open ghost opened 5 years ago
Same here
Same here.
It seems to be an issue in newer compiler versions, within one of the libraries. I'm using:
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
You have to explicitly cast the values to DTsucc in two files: RMQ_succinct_lcp.cpp and RMQ_succinct.cpp
const DTsucc RMQ_succinct_lcp::HighestBitsSet[8] = {static_cast<DTsucc>(~0), static_cast<DTsucc>(~1), static_cast<DTsucc>(~3), static_cast<DTsucc>(~7), static_cast<DTsucc>(~15), static_cast<DTsucc>(~31), static_cast<DTsucc>(~63), static_cast<DTsucc>(~127)};
Detailed Solution can be found here: https://github.com/rdfhdt/hdt-cpp/issues/34#issue-162100652
@mpetri Thank you for your hard work
On my Ubuntu 18.04, when running
make
it fails in making, with error: