mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-16 01:31:45 +00:00
Ignore frame-address warning
This commit is contained in:
@@ -5,7 +5,11 @@
|
|||||||
|
|
||||||
#include "../kernel.h"
|
#include "../kernel.h"
|
||||||
|
|
||||||
// #define PRINT_BACKTRACE
|
#define PRINT_BACKTRACE
|
||||||
|
|
||||||
|
#ifdef PRINT_BACKTRACE
|
||||||
|
#pragma GCC diagnostic ignored "-Wframe-address"
|
||||||
|
#endif
|
||||||
|
|
||||||
bool ForceUnlock = false;
|
bool ForceUnlock = false;
|
||||||
Atomic<size_t> LocksCount = 0;
|
Atomic<size_t> LocksCount = 0;
|
||||||
|
Reference in New Issue
Block a user