From ba5def01b0141cf65e5810bb9b06c6d061769553 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Thu, 13 Mar 2025 18:36:07 +0100 Subject: [PATCH] Fixed imgui-node-editor build when using GCC. --- recipes/imgui-node-editor/recipe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/imgui-node-editor/recipe.py b/recipes/imgui-node-editor/recipe.py index f5c99a3..27a2a36 100644 --- a/recipes/imgui-node-editor/recipe.py +++ b/recipes/imgui-node-editor/recipe.py @@ -16,6 +16,8 @@ def _git_cook(env: Environment, repo: dict) -> dict: ccflags = list(env['CCFLAGS']) if env['COMPILER_FAMILY'] == 'cl': ccflags.append('/wd4100') + elif env['COMPILER_FAMILY'] == 'gcc': + ccflags.extend(('-Wno-comment', '-Wno-unused-but-set-variable', '-Wno-unused-parameter')) lib_ine = env.StaticLibrary( CPPPATH = [repo['checkout_root']], CCFLAGS = ccflags,