From 7ed0ec32ce824058feac2fa4f48972f55892462a Mon Sep 17 00:00:00 2001 From: hhvrc Date: Thu, 21 Nov 2024 13:43:00 +0100 Subject: [PATCH] Enable extra compiler warnings --- platformio.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platformio.ini b/platformio.ini index 65f58785..fb7968f6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -15,6 +15,10 @@ framework = arduino build_flags = -std=c++2a -std=gnu++2a + -Wall + -Wextra + ;-Wpedantic ; This can't be enabled yet because it screams about "ISO C++ prohibits anonymous structs in C code" + -Wno-unknown-pragmas build_unflags = -std=gnu++11 lib_deps =