Lua: Added another ignored warning to fix compilation with MSVC.

This commit is contained in:
Patrick Wuttke 2025-10-20 14:58:25 +02:00
parent 94d960d49c
commit 071b2c323b

View File

@ -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',