From: Steven Schubiger Date: Thu, 24 Jan 2013 23:45:50 +0000 (+0100) Subject: add -Wno-unused-parameter X-Git-Tag: v0.49~13 X-Git-Url: http://git.refcnt.org/?a=commitdiff_plain;h=7d6efcbd7ed508317a494121e4da50f290935806;hp=ca8ab7e39af7b3b6d263329bb605925f693d23b8;p=colorize.git add -Wno-unused-parameter --- diff --git a/Makefile b/Makefile index b332cda..a51d1c3 100644 --- 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 d8fc52a..5329e1f 100755 --- 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 {