DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 137 forks source link

Compiling on freebsd13.0 fails #100

Open cian-dev10 opened 2 years ago

cian-dev10 commented 2 years ago

Error: DevIL/src-IL/src/il_dds-save.cpp:711:17: error: assigning to 'ILubyte ' (aka 'unsigned char ') from incompatible type 'void *'

Platform: FreeBSD Ashiro 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Compiler: clang & clang++

bedwardly-down commented 2 years ago

Have you tried in a Jail running 13.1 that recently released? Asking because I’ve found that the move from the default LLVM 11.0 release to 13.0 had improved building for multiple apps for me (haven’t tried here yet)