GreycLab/CImg

Can't compile project using CImg under visual studio windows 11 anymore

zamir1002 opened this issue · 3 comments

Hi

Since commit 6483922
I can't compiile my project under Windows anymore. Before I had no problems.

Build Log:

CImg.h(3156,57): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,char>' has already been defined
CImg.h(3147,50): message : see previous definition of 'superset<unsigned __int64,char>'
CImg.h(3157,64): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,signed char>' has already been defined
CImg.h(3148,57): message : see previous definition of 'superset<unsigned __int64,signed char>'
CImg.h(3158,58): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,short>' has already been defined
CImg.h(3149,51): message : see previous definition of 'superset<unsigned __int64,short>'
CImg.h(3159,56): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,int>' has already been defined
CImg.h(3150,49): message : see previous definition of 'superset<unsigned __int64,int>'
CImg.h(3160,63): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,__int64>' has already been defined
CImg.h(3151,56): message : see previous definition of 'superset<unsigned __int64,__int64>'
CImg.h(3161,58): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,float>' has already been defined
CImg.h(3152,51): message : see previous definition of 'superset<unsigned __int64,float>'
CImg.h(3162,59): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,double>' has already been defined
CImg.h(3153,52): message : see previous definition of 'superset<unsigned __int64,double>'
CImg.h(3163,49): error C2766: explicit specialization; 'cimg_library::cimg::superset<__int64,float>' has already been defined
CImg.h(3154,50): message : see previous definition of 'superset<__int64,float>'
CImg.h(3164,50): error C2766: explicit specialization; 'cimg_library::cimg::superset<__int64,double>' has already been defined
CImg.h(3155,51): message : see previous definition of 'superset<__int64,double>'

Thanks

Thanks for reporting.
Does this commit 722646c fix the issue?
Thanks for your help!

Hi,

Yes, 722646c fixed the issue I encountered.

Thanks!

OK. I've released a new .zip archive on the website, with these changes.
Thanks again for your report!