From fc643925bd7ab420cec2865cf287e905a7d89f13 Mon Sep 17 00:00:00 2001 From: sfja Date: Thu, 9 Apr 2026 16:05:38 +0200 Subject: [PATCH] add -Werror --- backend/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Makefile b/backend/Makefile index 5b2f4e8..24eda95 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -4,7 +4,7 @@ MAKEFLAGS += -j16 CXX=g++ LD=g++ -CXXFLAGS = -std=c++23 -pedantic-errors -Wall -Wextra -Wconversion -Wcpp +CXXFLAGS = -std=c++23 -pedantic-errors -Wall -Wextra -Wconversion -Werror LDFLAGS = libraries = libmosquitto @@ -16,7 +16,7 @@ RELEASE = 0 GDB = 0 ifeq ($(RELEASE),1) - CXXFLAGS += -O3 -Werror + CXXFLAGS += -O3 else CXXFLAGS += -O0 -g -Wno-unused