TurboPFor-Integer-Compression icon indicating copy to clipboard operation
TurboPFor-Integer-Compression copied to clipboard

TurboPFor fails to build with latest VS 2022 compiler

Open pps83 opened this issue 2 years ago • 1 comments

These are the errors:

1>bitutil.h(193,31): warning C4391: 'uint16_t _mm_cvtsi128_si16(__m128i)': incorrect return type for intrinsic function, expected 'short' (compiling source file ..\..\bitpack.c)
1>bitutil.h(193,60): error C2169: '_mm_cvtsi128_si16': intrinsic function, cannot be defined (compiling source file ..\..\bitpack.c)

pps83 avatar Mar 09 '22 14:03 pps83

Build issues on Ubuntu 20.04 too (and many more, I'm only including the first error):

bitutil.c: In function ‘bitddec32’: bitutil.c:213:10: error: incompatible types when assigning to type ‘__m128i’ {aka ‘__vector(2) long long int’} from type ‘int’ 213 | vs = mm_scan_epi32(v, vs); | ^~~~~~~~~~~~~

MonteCreasor avatar Mar 09 '22 16:03 MonteCreasor

There is now a new vs2022 project.

powturbo avatar Mar 13 '23 20:03 powturbo