In file included from b.cpp:1:
./CImg.h:65161:29: error: cannot cast from type 'CImg<unsigned char>' to pointer type 'char *'
CImg<charT>::string((char*)_data[l]).move_to(str);
^~~~~~~~~~~~~~~
b.cpp:3:31: note: in instantiation of member function 'cimg_library::CImgList<unsigned char>::
__display' requested here
template struct cimg_library::CImgList<unsigned char>;
^
1 error generated.
When I try to instantiate
CImgList
in the latest commit like thisWhat I get from the compiler is
Perhaps what you want in
CImg.h
is