From d30fc192f2eb01ceea45bd1e12de61636cafbf86 Mon Sep 17 00:00:00 2001 From: David Racine Date: Mon, 21 Sep 2026 22:40:47 -0400 Subject: Include before checking __cpp_lib_source_location (#7233) GCC 15's libstdc++ defines feature-test macros selectively: after #include , __cpp_lib_source_location is not yet defined, even though __builtin_source_location is fully supported. This made the check fail on GCC 15 toolchains (including clang using libstdc++), disabling the Hook Debugger. Include first so all feature-test macros are defined. --- soh/soh/Enhancements/game-interactor/GameInteractor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/soh/Enhancements/game-interactor/GameInteractor.h b/soh/soh/Enhancements/game-interactor/GameInteractor.h index 7742c38d1..43c2d2a39 100644 --- a/soh/soh/Enhancements/game-interactor/GameInteractor.h +++ b/soh/soh/Enhancements/game-interactor/GameInteractor.h @@ -89,6 +89,7 @@ void GameInteractor_SetTriforceHuntCreditsWarpActive(bool state); #include #include +#include #ifdef __cpp_lib_source_location #include #else -- cgit v1.2.3