c++ - Integer Compression Library -


i trying use library https://github.com/lemire/simdcompressionandintersection/ visual studio 2012 getting few compilation errors.

headers #include <sys/resource.h> #include <sys/time.h> , #include <sys/mman.h> doesn't exist. can remove them.

after getting errors in many lines have format:

__attribute__((const)) inline uint32_t gccbits(const uint32_t v) {     return v == 0 ? 0 : 32 - __builtin_clz(v); }  missing type specifier - int assumed. note: c++ not support default-int 

does know how use library visual studio 2012?

edit: compiling in g++. in terminal type make example , ./example. segfault before output. know wrong?

from requirements section:

a recent gcc (4.7 or better), clang or intel compiler.

...

tested on linux , macos. should portable windows , other platforms.

good luck port.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -