From e4887b70ec0affd9c51984c2f540acc96d7f8332 Mon Sep 17 00:00:00 2001 From: Justin Pinkul Date: Thu, 25 Jul 2024 14:36:16 -0600 Subject: [PATCH] Directly include for std::set_terminate (#8978) I was recently trying to compile this project with a more recent version of GCC and hit an issue with this file. With older versions the std::set_terminate definition was being included via a transitive include of from the C++ standard library implementation. This is no longer the case with newer versions of libstdc++. This fixes the issue by using a direct include instead of relying on an implementation specific transitive include. --- cores/esp8266/core_esp8266_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/esp8266/core_esp8266_main.cpp b/cores/esp8266/core_esp8266_main.cpp index 91a64e0ab8..d7f14b02c8 100644 --- a/cores/esp8266/core_esp8266_main.cpp +++ b/cores/esp8266/core_esp8266_main.cpp @@ -24,6 +24,7 @@ //#define CONT_STACKSIZE 4096 #include +#include #include #include "Schedule.h"