Skip to content

Commit 518309c

Browse files
Renegade334richardlau
authored andcommitted
build: suppress clang errors building libffi on Windows
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #64222 Refs: #64040 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
1 parent bb2eed8 commit 518309c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

deps/libffi/libffi.gyp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@
204204
},
205205
],
206206
'conditions': [
207+
['OS == "win" and clang == 1', {
208+
'msvs_settings': {
209+
'VCCLCompilerTool': {
210+
'AdditionalOptions': ['-Wno-incompatible-pointer-types'],
211+
},
212+
},
213+
}],
207214
['OS == "win" and (target_arch == "x64" or target_arch == "x86_64")', {
208215
'actions': [
209216
{

0 commit comments

Comments
 (0)