From e6c103c671dc85d561a9cef39400c152f22759a4 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 26 Mar 2023 21:16:26 +0300 Subject: [PATCH] Ignore frame-address warning --- Core/Lock.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core/Lock.cpp b/Core/Lock.cpp index 7db7100..ea71048 100644 --- a/Core/Lock.cpp +++ b/Core/Lock.cpp @@ -5,7 +5,11 @@ #include "../kernel.h" -// #define PRINT_BACKTRACE +#define PRINT_BACKTRACE + +#ifdef PRINT_BACKTRACE +#pragma GCC diagnostic ignored "-Wframe-address" +#endif bool ForceUnlock = false; Atomic LocksCount = 0;