From 56cb3a2d66e847a9a53997fcecec1de6833fd4ab Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2019 22:11:54 -0800 Subject: Bunch of minor pedantic cleanups to get rid of warnings and tidy up the code. --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a37b476..d687ebb 100644 --- a/Makefile +++ b/Makefile @@ -3,14 +3,13 @@ PREFIX= CC=gcc O=-O2 CFLAGS=-std=c99 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -CWARN=-Wall -Wpedantic -Wno-unknown-pragmas -#CWARN += -fsanitize=address -fno-omit-frame-pointer +CWARN=-Wall -Wpedantic -Wextra -Wno-unknown-pragmas -Wno-missing-field-initializers\ + -Wno-padded -Wsign-conversion -Wno-missing-noreturn -Wno-cast-qual -Wtype-limits +#CFLAGS += -fsanitize=address -fno-omit-frame-pointer G= ifeq ($(shell uname),Darwin) CFLAGS += -D_DARWIN_C_SOURCE - CWARN += -Weverything -Wno-missing-field-initializers -Wno-padded\ - -Wno-missing-noreturn -Wno-cast-qual endif ifneq (, $(SH)) -- cgit v1.2.3