From e95af04da45b3047e64d5efcdf3e0314ceaaffd0 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Mon, 20 Mar 2023 18:06:49 +0100 Subject: [PATCH] Compile with newer c++ standard --- platformio.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platformio.ini b/platformio.ini index 73b25822..fef2925d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -20,6 +20,10 @@ platform = espressif32@>=6.0.1 build_flags = -DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz -Wall -Wextra -Werror + -std=c++17 + -std=gnu++17 +build_unflags = + -std=gnu++11 lib_deps = https://github.com/yubox-node-org/ESPAsyncWebServer