diff options
author | Job Bautista <jobbautista9@aol.com> | 2023-03-26 13:14:10 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@aol.com> | 2023-03-26 13:14:10 +0800 |
commit | 86b77f1284be339b6672f6ef9dcc342a3d6e758c (patch) | |
tree | 2651c28103387e27c75054b3e06a72c2b947a57e /config | |
parent | 19b76a68accfc4fa811e911b71e841b3e1919344 (diff) | |
download | uxp-86b77f1284be339b6672f6ef9dcc342a3d6e758c.tar.gz |
Issue #2165 - Disable LNK4217 and LNK4286 warnings when linking ICU as they're too spammy.
Diffstat (limited to 'config')
-rw-r--r-- | config/external/icu/moz.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/external/icu/moz.build b/config/external/icu/moz.build index e403f17c78..6b0cc1a332 100644 --- a/config/external/icu/moz.build +++ b/config/external/icu/moz.build @@ -17,3 +17,9 @@ else: USE_LIBS += ['icudata'] SharedLibrary('icu') SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION'] + # Linking ICU gets too spammy in warnings with MSVC + if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']: + LDFLAGS += [ + '/IGNORE:4217', # symbol defined in $1.obj is defined in $2.obj + '/IGNORE:4286', # similar with LNK4217 + ] |