user/rlottie: FTBFS: error: statement has no effect [-Werror=unused-value]
Brilliant, really.
ccache c++ -Isrc/vector/stb/librlottie-image-loader.so.p -Isrc/vector/stb -I../src/vector/stb -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -Werror -std=c++14 -O3 '-DDEMO_DIR="/root/packages/user/rlottie/src/rlottie-f6fc61f214945ac9961ba49fdfc9a3d3336e999b/example/resource/"' -O2 -ggdb -march=nocona -mtune=core2 -fno-omit-frame-pointer -mfpmath=sse -g -Os -fomit-frame-pointer -fPIC -DLOT_BUILD -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables -Woverloaded-virtual -Wno-unused-parameter -MD -MQ src/vector/stb/librlottie-image-loader.so.p/stb_image.cpp.o -MF src/vector/stb/librlottie-image-loader.so.p/stb_image.cpp.o.d -o src/vector/stb/librlottie-image-loader.so.p/stb_image.cpp.o -c ../src/vector/stb/stb_image.cpp
In file included from ../src/vector/stb/stb_image.cpp:14:
../src/vector/stb/stb_image.h: In function ‘int stbi__jpeg_info(stbi__context*, int*, int*, int*)’:
../src/vector/stb/stb_image.h:3783:48: error: statement has no effect [-Werror=unused-value]
stbi__errpuc("outofmem", "Out of memory");
^
cc1plus: all warnings being treated as errors
[30/39] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vraster.cpp.o
[31/39] Compiling C++ object src/librlottie.so.0.0.1.p/lottie_lottiemodel.cpp.o
[32/39] Compiling C++ object src/librlottie.so.0.0.1.p/lottie_lottieitem_capi.cpp.o
[33/39] Compiling C++ object src/librlottie.so.0.0.1.p/lottie_lottieanimation.cpp.o
[34/39] Compiling C++ object src/librlottie.so.0.0.1.p/lottie_lottieitem.cpp.o
[35/39] Compiling C++ object src/librlottie.so.0.0.1.p/lottie_lottieparser.cpp.o
ninja: build stopped: subcommand failed.
>>> ERROR: rlottie: build failed