From 3e019df9f429caef4b05947cc70652634ebb2467 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 29 Oct 2024 22:23:48 -0400 Subject: Add -Werror to tomo compile flags --- tomo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tomo.c') diff --git a/tomo.c b/tomo.c index f59000e7..a9e11726 100644 --- a/tomo.c +++ b/tomo.c @@ -42,7 +42,7 @@ static OptionalBool_t verbose = false, uninstall = false; static OptionalText_t autofmt = Text("sed '/^\\s*$/d' | indent -kr -l100 -nbbo -nut -sob"), - cflags = Text("-fdollars-in-identifiers -std=gnu11 -Wno-trigraphs -fsanitize=signed-integer-overflow -fno-sanitize-recover" + cflags = Text("-Werror -fdollars-in-identifiers -std=gnu11 -Wno-trigraphs -fsanitize=signed-integer-overflow -fno-sanitize-recover" " -fno-signed-zeros -fno-finite-math-only -fno-signaling-nans -fno-trapping-math -fno-finite-math-only" " -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -ggdb" " -I$HOME/.local/share/tomo/installed"), -- cgit v1.2.3