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:
Michaël Zasso 2025-08-09 14:15:01 +02:00 committed by RafaelGSS
parent 16bbcd8881
commit e4ca30e115
No known key found for this signature in database
GPG key ID: 8BEAB4DFCF555EF4

View file

@ -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',
],
},
},
}],