Skip to content

Commit 91fa83f

Browse files
targosrichardlau
authored andcommitted
tools: disable nullability-completeness warnings
Seems Clang-specific and doesn't only affect macOS. This is a very noisy warning from abseil-cpp. PR-URL: #59392 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 98cd7e2 commit 91fa83f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tools/v8_gypfiles/toolchain.gypi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,23 @@
165165
},
166166
},
167167
}],
168+
['clang==1', {
169+
'cflags_cc': [
170+
'-Wno-nullability-completeness',
171+
],
172+
'xcode_settings': {
173+
'OTHER_CFLAGS': [
174+
'-Wno-nullability-completeness',
175+
],
176+
},
177+
'msvs_settings': {
178+
'VCCLCompilerTool': {
179+
'AdditionalOptions': [
180+
'-Wno-nullability-completeness',
181+
],
182+
},
183+
},
184+
}],
168185
['v8_target_arch=="arm"', {
169186
'defines': [
170187
'V8_TARGET_ARCH_ARM',

0 commit comments

Comments
 (0)