From 8c4a105d6b28ef0f099f82591a9317f994a6d322 Mon Sep 17 00:00:00 2001 From: Pascal Brunot Date: Sat, 21 Dec 2024 08:01:26 +0100 Subject: [PATCH] enable C++23 with gnu extensions --- platformio.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 37ebb439..2e29bb05 100644 --- a/platformio.ini +++ b/platformio.ini @@ -33,11 +33,12 @@ lib_deps = https://github.com/PBrunot/LiquidCrystal.git#use_const https://github.com/tzapu/WiFiManager.git@2.0.17 ArduinoOTA build_unflags = -std=gnu++11 -fexceptions -fno-lto -build_flags = -std=gnu++2b +build_flags = -std=gnu++23 -flto=auto -g3 -Os -I conf + -Wuninitialized -Wno-deprecated-declarations -Wno-attributes -Wno-maybe-uninitialized