From 42c04fbf3846211e07b1b4fa01babd931bcaf5f1 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 21 Feb 2017 19:13:33 -0500 Subject: add additional gcc checks --- Makefile | 3 ++- tests/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e99117..07855ae 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ VERSION=0.1.4 CC=gcc -CFLAGS=-Wall -DVERSION=$(VERSION) -g -O3 +CFLAGS=-Wall -Wno-unused-result -Wsign-compare -Wstrict-prototypes \ + -DVERSION=$(VERSION) -g -O3 INCLUDE= -Iinclude LIB= -Llib DOXY=doxygen diff --git a/tests/Makefile b/tests/Makefile index 15f5575..8d00c35 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,5 +1,5 @@ CC=gcc -CFLAGS=-Wall -g -rdynamic -DNDEBUG $(OPTFLAGS) +CFLAGS=-Wall -Wno-unused-result -Wsign-compare -g -rdynamic -DNDEBUG $(OPTFLAGS) INCLUDE=-I../include/ -I./include LIB=-L../lib -- cgit v1.2.3