You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our code, we are using quite heavily explicit instantiation in order to gain some compilation time, but when switching from CImg 2.9 to a more recent version, we get the following compilation errors with both g++ & clang++:
./CImg.h:32705:14: note: '_fill' declared here
CImg<T>& _fill(const char *const expression, const bool repeat_values, const unsigned int mode,
^
./CImg.h:29472:72: error: too many arguments to function call, expected 7, have 8
return maxabs((+*this)._fill(expression,true,3,0,0,"maxabs",this,0));
~~~~~~~~~~~~~~ ^
main.cc:3:31: note: in instantiation of member function 'cimg_library::CImg<>::maxabs' requested here
template struct cimg_library::CImg<float>;
Here is a small toy code which reproduces this behaviour:
It seems to work now, with my latest commits.
I've just released on the website a new prerelease 3.2.7_pre, with the fix included.
Could you tell me if that works for you ? Thanks!
Hi!
In our code, we are using quite heavily explicit instantiation in order to gain some compilation time, but when switching from CImg 2.9 to a more recent version, we get the following compilation errors with both g++ & clang++:
Here is a small toy code which reproduces this behaviour:
Thanks for all your work on this helpful library and have a nice day :)
The text was updated successfully, but these errors were encountered: