Commit b0378e4c authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

-Wno-unused is bad, -Wno-unused-parameter is useful

parent c9b5d5e3
......@@ -80,7 +80,7 @@ LINUXOBJ = vexp.pd_linux_o vexp_fun.pd_linux_o vexp_if.pd_linux_o
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \
-fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-Wno-unused-parameter -Wno-parentheses -Wno-switch
LINUXINCLUDE = -I../../src
......@@ -123,7 +123,7 @@ MACOSXOBJ = vexp.d_fat_o vexp_fun.d_fat_o vexp_if.d_fat_o
.SUFFIXES: .d_ppc_o .d_fat_o
MACOSXCFLAGS = -DMACOSX -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-Wno-unused-parameter -Wno-parentheses -Wno-switch
MACOSXINCLUDE = -I../../src
......
......@@ -38,7 +38,7 @@ pd_linux: $(NAME).pd_linux
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \
-Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS)
-Wno-unused-parameter -Wno-parentheses -Wno-switch $(CFLAGS)
LINUXINCLUDE = -I../../src
......@@ -55,7 +55,7 @@ d_fat: $(NAME).d_fat
.SUFFIXES: .d_ppc .d_fat
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-Wno-unused-parameter -Wno-parentheses -Wno-switch
.c.d_ppc:
$(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment