diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-01-25 00:45:50 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-01-25 00:45:50 +0100 |
commit | 7d6efcbd7ed508317a494121e4da50f290935806 (patch) | |
tree | c9abe59ff28ba959d7d5fea8f2b90463eb11a550 | |
parent | ca8ab7e39af7b3b6d263329bb605925f693d23b8 (diff) | |
download | colorize-7d6efcbd7ed508317a494121e4da50f290935806.tar.gz colorize-7d6efcbd7ed508317a494121e4da50f290935806.tar.bz2 |
add -Wno-unused-parameter
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | test.pl | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 $@ $< @@ -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 { |