]> git.refcnt.org Git - colorize.git/commitdiff
add -Wno-unused-parameter
authorSteven Schubiger <stsc@refcnt.org>
Thu, 24 Jan 2013 23:45:50 +0000 (00:45 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Thu, 24 Jan 2013 23:45:50 +0000 (00:45 +0100)
Makefile
test.pl

index b332cdab20f858515374c83157118e3db8ffd8c9..a51d1c3f032d7ad22dc85e82008b3616479264f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 
 SHELL=/bin/sh
 CC=gcc
-CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused
+CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-parameter
 
 colorize:      colorize.o
                        $(CC) -o $@ $<
diff --git a/test.pl b/test.pl
index d8fc52a89264ad0d2108d1af4c610e4476853f7d..5329e1ff6b17e9a7a004ef3c7cc7c9f339f8e5cb 100755 (executable)
--- a/test.pl
+++ b/test.pl
@@ -9,7 +9,7 @@ use Test::More tests => 9;
 
 my $BUF_SIZE = 1024;
 my $source = 'colorize.c';
-my $warning_flags = '-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused';
+my $warning_flags = '-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-parameter';
 
 my $write_to_tmpfile = sub
 {