From c034c76053c6d14f2ebfc87834d524d329d4e059 Mon Sep 17 00:00:00 2001 From: Ryzee119 Date: Wed, 1 Dec 2021 09:54:57 +1030 Subject: [PATCH] GuiLite: Suppress warnings --- src/lib/GuiLite.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/GuiLite.h b/src/lib/GuiLite.h index 8ad6dd15..b6652636 100644 --- a/src/lib/GuiLite.h +++ b/src/lib/GuiLite.h @@ -1,3 +1,8 @@ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wreorder" +#pragma GCC diagnostic ignored "-Wsign-compare" +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" + #pragma once #define REAL_TIME_TASK_CYCLE_MS 50 @@ -4334,4 +4339,5 @@ WND_TREE g_number_board_children[] = {&s_key_enter,'\n', 0, POS_X(3), POS_Y(2), KEY_WIDTH, KEY_HEIGHT * 2 + 2}, {0,0,0,0,0,0,0} }; -#endif \ No newline at end of file +#endif +#pragma GCC diagnostic pop