Bug 1766377 - Disable sign-compare warnings in third-party code. r=jandem

Differential Revision: https://phabricator.services.mozilla.com/D144691
This commit is contained in:
Mike Hommey 2022-04-27 07:45:20 +00:00
parent e09e076df3
commit 102a6112e6
2 changed files with 4 additions and 0 deletions

View file

@ -547,6 +547,7 @@ if CONFIG["MOZ_VTUNE"]:
]
SOURCES["vtune/ittnotify_static.c"].flags += [
"-Wno-varargs",
"-Wno-sign-compare",
"-Wno-unknown-pragmas",
]
if CONFIG["CC_TYPE"] == "gcc":

View file

@ -38,3 +38,6 @@ if CONFIG['JS_CODEGEN_X64'] or CONFIG['JS_CODEGEN_X86']:
'Zydis/ZydisString.c',
'ZydisAPI.cpp',
]
# Suppress warnings in third-party code.
SOURCES['Zydis/SharedData.c'].flags += ['-Wno-sign-compare']