Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just including flif-enc.hpp results in error c2440 from VS compiler. #543

Open
tnikolla opened this issue Jul 24, 2019 · 0 comments
Open

Comments

@tnikolla
Copy link

System Info

Windows 10
VS Proffesional 2017 -v15.7.1

Test program

#include <flif-enc.hpp>

#pragma comment(lib,"libflif.lib")

int main() { 

    return 0;

}

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)); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants