From d146b25928191cb4438ce5bf51ffce1856c1d171 Mon Sep 17 00:00:00 2001 From: raisinten Date: Fri, 25 Dec 2020 19:29:46 +0530 Subject: [PATCH] build: fix unknown warning option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: unknown warning option '-Wno-int-in-bool-context'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. The `-Wint-in-bool-context` diagnostic is not enabled by default, so no additional option is needed. PR-URL: https://github.com/nodejs/node/pull/36629 Reviewed-By: Rich Trott Reviewed-By: Michaƫl Zasso --- tools/v8_gypfiles/toolchain.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index 1422c91ec4b94f..0a11166a4db480 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -138,7 +138,7 @@ 'cflags': [ '-Werror', '-Wno-unknown-pragmas' ], },{ 'cflags!': [ '-Wall', '-Wextra' ], - 'cflags': [ '-Wno-return-type', '-Wno-int-in-bool-context' ], + 'cflags': [ '-Wno-return-type' ], }], ['v8_target_arch=="arm"', { 'defines': [