From ab4a872daa9d4a680e6cb53bf5fc495e5aa98744 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Mon, 11 Dec 2023 18:45:28 +0100 Subject: [PATCH] Add additional compiler flags to prevent errors --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 5ed8cef..d6fc1bb 100644 --- a/platformio.ini +++ b/platformio.ini @@ -24,7 +24,7 @@ platform = espressif32@6.3.2 build_flags = -DPIOENV=\"$PIOENV\" -D_TASK_STD_FUNCTION=1 - -Wall -Wextra -Werror + -Wall -Wextra -Werror -Wunused -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wnull-dereference -std=c++17 -std=gnu++17 build_unflags =