I am trying to use this library https://github.com/lemire/SIMDCompressionAndIntersection/ with Visual Studio 2012 but I am getting a few compilation errors.
Headers #include <sys/resource.h> #include <sys/time.h> and #include <sys/mman.h> doesn't exist. I can simply remove them.
After this I am getting errors in many lines which have this 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++ does not support default-int
Does anyone know how to use this library with Visual Studio 2012?
edit: I am compiling this in G++. In terminal I type make example and then ./example. I get a segfault before any output. Anyone know what is wrong?
 
    