From ea76aeb72ba4c47472263387ca7377bb5fcebb9d Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 1 Dec 2023 11:54:34 +0100 Subject: [PATCH] Need to also ignore unused-but-set-parameter in method_bind --- include/godot_cpp/core/method_bind.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp index 37ae7317..382fa4ca 100644 --- a/include/godot_cpp/core/method_bind.hpp +++ b/include/godot_cpp/core/method_bind.hpp @@ -605,6 +605,7 @@ protected: #if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wlogical-op" +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" #endif virtual GDExtensionVariantType gen_argument_type(int p_arg) const { if (p_arg >= 0 && p_arg < (int)sizeof...(P)) {