From 1c99251f2d5bac2a4f0ee6013b1dbbf98431e303 Mon Sep 17 00:00:00 2001 From: huaqo-games Date: Thu, 20 Mar 2025 12:49:52 +0100 Subject: [PATCH] pragma and execute --- Makefile | 2 +- include/raygui.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c7579a0..43023a0 100644 --- a/Makefile +++ b/Makefile @@ -18,4 +18,4 @@ clean: rm -f $(TARGET) run: clean build - .\$(TARGET) \ No newline at end of file + ./$(TARGET) \ No newline at end of file diff --git a/include/raygui.h b/include/raygui.h index 39908db..da2644d 100644 --- a/include/raygui.h +++ b/include/raygui.h @@ -1,3 +1,6 @@ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-but-set-variable" + /******************************************************************************************* * * raygui v4.5-dev - A simple and easy-to-use immediate-mode gui library @@ -5926,3 +5929,4 @@ static int GetCodepointNext(const char *text, int *codepointSize) #endif // RAYGUI_STANDALONE #endif // RAYGUI_IMPLEMENTATION +#pragma clang diagnostic pop