mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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: https://github.com/nodejs/node/pull/59392 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
16bbcd8881
commit
e4ca30e115
1 changed files with 15 additions and 1 deletions
|
@ -131,13 +131,27 @@
|
|||
'xcode_settings': {
|
||||
# -Wno-invalid-offsetof
|
||||
'GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO': 'NO',
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': ['-Wno-invalid-offsetof'],
|
||||
},
|
||||
},
|
||||
}],
|
||||
['clang==1', {
|
||||
'cflags_cc': [
|
||||
'-Wno-nullability-completeness',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-Wno-nullability-completeness',
|
||||
],
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': ['-Wno-invalid-offsetof'],
|
||||
'AdditionalOptions': [
|
||||
'-Wno-nullability-completeness',
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue