From 875bd8c45a1f72469af21380dd8d4dfd7bdff20a Mon Sep 17 00:00:00 2001 From: sfja Date: Thu, 9 Apr 2026 16:03:18 +0200 Subject: [PATCH] fix pipeline error --- backend/Makefile | 4 ++-- backend/src/main.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/Makefile b/backend/Makefile index 5428056..5b2f4e8 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 +CXXFLAGS = -std=c++23 -pedantic-errors -Wall -Wextra -Wconversion -Wcpp LDFLAGS = libraries = libmosquitto @@ -16,7 +16,7 @@ RELEASE = 0 GDB = 0 ifeq ($(RELEASE),1) - CXXFLAGS += -O3 + CXXFLAGS += -O3 -Werror else CXXFLAGS += -O0 -g -Wno-unused diff --git a/backend/src/main.cpp b/backend/src/main.cpp index d8274fa..a563246 100644 --- a/backend/src/main.cpp +++ b/backend/src/main.cpp @@ -25,7 +25,6 @@ int main(void) { std::println("Starting backend..."); - auto mqtt_client = mst::mqtt::Client( BACKEND_MQTT_HOST, BACKEND_MQTT_PORT, "test", "1234");