Skip to content

Commit

Permalink
build: fix unknown warning option
Browse files Browse the repository at this point in the history
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: #36629
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
RaisinTen authored and nodejs-github-bot committed Dec 28, 2020
1 parent c27efd4 commit d146b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/v8_gypfiles/toolchain.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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': [
Expand Down

0 comments on commit d146b25

Please sign in to comment.