filters.h breaks my PCem compilation

Support and general discussion.
BoisterousSleet75
Posts: 32
Joined: Fri 11 Aug, 2017 3:06 am
Contact:

filters.h breaks my PCem compilation

Postby BoisterousSleet75 » Sat 02 Sep, 2017 12:58 am

Hi,

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?

Thanks.
aka "bsleet75"
SarahWalker
Site Admin
Posts: 1333
Joined: Thu 24 Apr, 2014 4:18 pm

Re: filters.h breaks my PCem compilation

Postby SarahWalker » Sat 02 Sep, 2017 7:15 am

My bad. Fixed in rev 865.

Return to “General”

Who is online

Users browsing this forum: Google [Bot] and 4 guests