filters.h breaks my PCem compilation

Support and general discussion.
Post Reply
Posts: 35
Joined: Fri 11 Aug, 2017 3:06 am

filters.h breaks my PCem compilation

Post by BoisterousSleet75 » Sat 02 Sep, 2017 12:58 am


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....
I'm using Makefile.mingw-network.

Is this bug or something else?

aka "bsleet75"

9/11 will never forgotten, and Happy Birthday to IRC!

User avatar
Site Admin
Posts: 1588
Joined: Thu 24 Apr, 2014 4:18 pm

Re: filters.h breaks my PCem compilation

Post by SarahWalker » Sat 02 Sep, 2017 7:15 am

My bad. Fixed in rev 865.

Post Reply