diff --git a/binding.gyp b/binding.gyp index d059d3c0..55fa8b9a 100644 --- a/binding.gyp +++ b/binding.gyp @@ -83,6 +83,8 @@ 'xcode_settings': { 'OTHER_CFLAGS+': [ "-Wno-deprecated-declarations", + "-Wno-cast-function-type-mismatch", # clang17 now warns about casts between incompatible function types and v8 has some of those + "-Wno-unknown-warning-option", # "-Wcast-function-type-mismatch" is not a valid warning option for clang < 17 "-Werror", '-std=gnu++20', ],