dk / Prima

prima.eu.org
Other
108 stars 27 forks source link

compile error in img/codec_heif.c #111

Closed hovetaut closed 7 months ago

hovetaut commented 7 months ago

Installing Prima 1.72, I got this error:

cc -c -Iinclude -Iinclude/generic -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/x86_64-linux-gnu -fopenmp -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -Wall -DVERSION=\"1.72\" -DXS_VERSION=\"1.72\" -fPIC "-I/usr/local/lib/perl5/5.38.2/x86_64-linux/CORE" img/codec_heif.c -o img/codec_heif.o img/codec_heif.c: In function ‘init’: img/codec_heif.c:180:4: error: label at end of compound statement 180 | default: | ^~~ make: *** [Makefile:820: img/codec_heif.o] Error 1

Looks like it just needs a "continue;"

And thanks for the great module, Roger Bye

hovetaut commented 7 months ago

Ooops. Sorry for the shouting. Guess I should have done a preview.

Roger