aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-30 23:24:27 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-30 23:24:27 +0000
commit527cc9ef36106c53c1691ffcf91d5fee978aa576 (patch)
treecb2e429e97a877b6dbd15036a5143afbcae2339e
parentc181e7ee9bf236b24cdf8bf4c413885366e713a3 (diff)
downloadimv-527cc9ef36106c53c1691ffcf91d5fee978aa576.tar.gz
Tweak default + CI build strictness
-rw-r--r--.travis.yml2
-rw-r--r--Makefile2
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)