Open tnikolla opened 5 years ago
Windows 10 VS Proffesional 2017 -v15.7.1
#include <flif-enc.hpp> #pragma comment(lib,"libflif.lib") int main() { return 0; }
pathname\image.hpp: error c2440: : cannot convert from "__m128i" to "FourColorVals"
The error is in image.hpp line 90: FourColorVals VCALL operator+(FourColorVals b) { return FourColorVals(_mm_add_epi32(vec,b.vec)); }
FourColorVals VCALL operator+(FourColorVals b) { return FourColorVals(_mm_add_epi32(vec,b.vec)); }
System Info
Windows 10 VS Proffesional 2017 -v15.7.1
Test program
Compiler error
pathname\image.hpp: error c2440:: cannot convert from "__m128i" to "FourColorVals"
The error is in image.hpp line 90:
FourColorVals VCALL operator+(FourColorVals b) { return FourColorVals(_mm_add_epi32(vec,b.vec)); }