From 9a371ed1964cc53d75b220fde9c1642fe807aa5f Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 20 Mar 2019 15:50:28 -0700 Subject: [PATCH] Omit a build warning that v8 headers violate --- packages/grpc-native-core/binding.gyp | 3 ++- packages/grpc-native-core/templates/binding.gyp.template | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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"', {