mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00: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
0cb9922d6e
commit
0946c8b28b
@ -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…
Reference in New Issue
Block a user