From 527cc9ef36106c53c1691ffcf91d5fee978aa576 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 30 Jan 2019 23:24:27 +0000 Subject: Tweak default + CI build strictness --- .travis.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31a89b9..219e882 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ cache: - $HOME/cmocka env: - - CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -Werror" + - CFLAGS="-W -Wall -Wextra -Wpedantic -Wpointer-arith -Wstrict-prototypes -Wshadow -Werror" script: - sed -i 's/BACKEND_\(.*\)=no/BACKEND_\1=yes/' config.mk # Enable all backends for test build diff --git a/Makefile b/Makefile index 58dce34..dabf722 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ MANPREFIX ?= $(PREFIX)/share/man DATAPREFIX ?= $(PREFIX)/share CONFIGPREFIX ?= /etc -CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes +CFLAGS ?= -W -Wall -Wextra -Wpedantic -Wpointer-arith -Wstrict-prototypes -Wshadow CFLAGS += -std=c99 CPPFLAGS += $(shell sdl2-config --cflags) -D_XOPEN_SOURCE=700 LIBS := $(shell sdl2-config --libs) -- cgit v1.2.3