From 72f0058e27ddf7fe5463bc52a93180da9696f8a5 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sun, 16 Jan 2022 20:12:23 +0100 Subject: [PATCH] Add some compiler warnings --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index c1780f0..046150c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,8 @@ -CFLAGS_WARN = -Wall -Wextra -Werror -Wno-unused-parameter +CFLAGS_WARN = -Wall -Wextra -Werror -Wno-unused-parameter +CFLAGS_WARN += -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes +CFLAGS_WARN += -Waggregate-return -Wpointer-arith -Wshadow -Wwrite-strings +CFLAGS_WARN += -Wcast-align -Wcast-qual bin_PROGRAMS = ttynvt