diff --git a/kernel/kernel/Input/KeyboardLayout.cpp b/kernel/kernel/Input/KeyboardLayout.cpp index 603ce2e6e3..052d67e651 100644 --- a/kernel/kernel/Input/KeyboardLayout.cpp +++ b/kernel/kernel/Input/KeyboardLayout.cpp @@ -273,6 +273,8 @@ namespace Kernel::Input return {}; } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstack-usage=" static BAN::ErrorOr initialize_name_to_key() { ASSERT(s_name_to_key.empty()); @@ -431,5 +433,6 @@ namespace Kernel::Input TRY(s_name_to_key.insert("Z"sv, Key::Z)); return {}; } +#pragma GCC diagnostic pop }