-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
I ran into problems while compiling range minimum query lib :
cd libcds/
make
...
static/suffixtree/RMQ_succinct.cpp:115:85: error: narrowing conversion of ‘-1’ from ‘int’ to ‘DTsucc {aka unsigned char}’ inside { } [-Wnarrowing]
const DTsucc RMQ_succinct::HighestBitsSet[8] = {~0, ~1, ~3, ~7, ~15, ~31, ~63, ~127};
//... (for 2,4,8,16,32,64)
static/suffixtree/RMQ_succinct.cpp:115:85: error: narrowing conversion of ‘-128’ from ‘int’ to ‘DTsucc {aka unsigned char}’ inside { } [-Wnarrowing]
Makefile:24: recipe for target 'static/suffixtree/RMQ_succinct.o' failed
make[1]: *** [static/suffixtree/RMQ_succinct.o] Error 1
Makefile:12: recipe for target 'libcompact' failed
make: *** [libcompact] Error 2
Any insights?
(OS: Ubuntu 18.04, gcc 7.3.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels