diff --git a/packages/grpc-native-core/binding.gyp b/packages/grpc-native-core/binding.gyp index c6dbe860..f6436be6 100644 --- a/packages/grpc-native-core/binding.gyp +++ b/packages/grpc-native-core/binding.gyp @@ -963,7 +963,8 @@ ], 'cflags': [ '-pthread', - '-Wno-error=deprecated-declarations' + '-Wno-error=deprecated-declarations', + '-Wno-cast-function-type' ], "conditions": [ ['OS=="win" or runtime=="electron"', { diff --git a/packages/grpc-native-core/templates/binding.gyp.template b/packages/grpc-native-core/templates/binding.gyp.template index 8addf14a..9ec471a6 100644 --- a/packages/grpc-native-core/templates/binding.gyp.template +++ b/packages/grpc-native-core/templates/binding.gyp.template @@ -312,7 +312,8 @@ ], 'cflags': [ '-pthread', - '-Wno-error=deprecated-declarations' + '-Wno-error=deprecated-declarations', + '-Wno-cast-function-type' ], "conditions": [ ['OS=="win" or runtime=="electron"', {