From 1ed1192973e55104fd94b205a29f2d78dd7f62a9 Mon Sep 17 00:00:00 2001 From: Alan Storm Date: Thu, 27 Aug 2020 16:05:23 -0700 Subject: [PATCH] Turn off nan related warnings --- binding.gyp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/binding.gyp b/binding.gyp index fb2a629..4964fee 100644 --- a/binding.gyp +++ b/binding.gyp @@ -24,6 +24,11 @@ "src/StackWalker.cpp", "includes/StackWalker.h" ] + }], + ["OS == 'linux'", { + "cflags_cc": [ + "-Wno-cast-function-type" # nan issue: https://github.com/nodejs/nan/issues/807 + ] }] ], "cflags": [ "-O0", "-funwind-tables" ],