From 5952e2c3837998b6269d22193d0c12cb6e3e1392 Mon Sep 17 00:00:00 2001 From: Renegade334 Date: Tue, 30 Jun 2026 22:15:46 +0200 Subject: [PATCH] build: suppress clang errors building libffi on Windows Signed-off-by: Renegade334 --- deps/libffi/libffi.gyp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deps/libffi/libffi.gyp b/deps/libffi/libffi.gyp index f3122a4e2a0041..2d43dcdb733c97 100644 --- a/deps/libffi/libffi.gyp +++ b/deps/libffi/libffi.gyp @@ -204,6 +204,13 @@ }, ], 'conditions': [ + ['OS == "win" and clang == 1', { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': ['-Wno-incompatible-pointer-types'], + }, + }, + }], ['OS == "win" and (target_arch == "x64" or target_arch == "x86_64")', { 'actions': [ {