From 7d6efcbd7ed508317a494121e4da50f290935806 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Fri, 25 Jan 2013 00:45:50 +0100 Subject: add -Wno-unused-parameter --- Makefile | 2 +- test.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { -- cgit v1.2.3