From 0741739eeff049295b7db524583ccb055dce493f 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 37ae731767..382fa4cadf 100644 --- a/include/godot_cpp/core/method_bind.hpp +++ b/include/godot_cpp/core/method_bind.hpp @@ -605,6 +605,7 @@ class MethodBindTS : public MethodBind { #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)) {