From 1ac0e91085b27e2d522761c2acd7e8adb9be7741 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 2 Jan 2022 17:34:39 +0100 Subject: [PATCH] Treat Warnings as error --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d959810..97c6838 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,9 @@ export DATA_DIR=/usr/local/share/dstargateway.d/ export LOG_DIR=/var/log/dstargateway/ # choose this if you want debugging help -CPPFLAGS=-g -ggdb -W -Wall -std=c++17 +CPPFLAGS=-g -ggdb -W -Wall -Werror -std=c++17 # or, you can choose this for a much smaller executable without debugging help -#CPPFLAGS=-W -Wall -std=c++17 +#CPPFLAGS=-W -Wall -Werror -std=c++17 LDFLAGS:=-lcurl -pthread