From b0378e4cab4a029a81790d342fe24f97d1eaaab0 Mon Sep 17 00:00:00 2001
From: Mathieu L Bouchard <matju@artengine.ca>
Date: Fri, 1 Aug 2014 00:48:13 -0400
Subject: [PATCH] -Wno-unused is bad, -Wno-unused-parameter is useful

---
 pd/extra/expr~/makefile  | 4 ++--
 pd/extra/makefile.subdir | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pd/extra/expr~/makefile b/pd/extra/expr~/makefile
index 5dee147a7..a80179f58 100644
--- a/pd/extra/expr~/makefile
+++ b/pd/extra/expr~/makefile
@@ -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
 
diff --git a/pd/extra/makefile.subdir b/pd/extra/makefile.subdir
index 9dfadc413..87e9e616b 100644
--- a/pd/extra/makefile.subdir
+++ b/pd/extra/makefile.subdir
@@ -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
-- 
GitLab