I'm trying compile PCem in latest commits with my MinGW (not MSYS2), but it gaves me an error:
Code: Select all
gcc.exe -g -O3 -march=i686 -fomit-frame-pointer -msse2 -mstackrealign -Wall -Werror -fno-strict-aliasing -DUSE_NETWORKING -c lpt_dss.c
In file included from lpt_dss.c:3:0:
filters.h:319:14: error: 'dac_iir' defined but not used [-Werror=unused-function]
static float dac_iir(int i, float NewSample) {
^~~~~~~
gcc.exe -g -O3 -march=i686 -fomit-frame-pointer -msse2 -mstackrealign -Wall -Werror -fno-strict-aliasing -DUSE_NETWORKING -c mca.c
cc1.exe: all warnings being treated as errors
make: *** [lpt_dss.o] Error 1
make: *** Waiting for unfinished jobs....
Is this bug or something else?
Thanks.