From 071b2c323b8a2521a574e2b20730af6cdcfbf147 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Mon, 20 Oct 2025 14:58:25 +0200 Subject: [PATCH] Lua: Added another ignored warning to fix compilation with MSVC. --- recipes/lua/recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/lua/recipe.py b/recipes/lua/recipe.py index ee09c73..6ea7a68 100644 --- a/recipes/lua/recipe.py +++ b/recipes/lua/recipe.py @@ -41,7 +41,7 @@ def cook(env: Environment, version) -> dict: if env['COMPILER_FAMILY'] in ('gcc', 'clang'): additional_ccflags.append('-Wno-pedantic') elif env['COMPILER_FAMILY'] == 'cl': - additional_ccflags.extend(['/wd4244', '/wd4310', '/wd4324', '/wd4701']) + additional_ccflags.extend(['/wd4244', '/wd4310', '/wd4324', '/wd4701', '/wd4709']) lib_lua = env.StaticLibrary( CCFLAGS = env['CCFLAGS'] + additional_ccflags, # Lua uses a GNU extension for taking addresses of labels target = env['LIB_DIR'] + '/lua_full',