mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 11:07:29 +09:00
Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
This commit is contained in:
parent
fdec621f51
commit
cab0faa710
1 changed files with 4 additions and 1 deletions
|
|
@ -37,7 +37,10 @@ LOCAL_INCLUDES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['GNU_CC']:
|
if CONFIG['GNU_CC']:
|
||||||
CFLAGS += ['-Wno-unused'] # too many annoying warnings from mfbt/ headers
|
# too many annoying warnings from mfbt/ headers
|
||||||
|
# also too many false positives from functions generated through rb_wrab from rb.h.
|
||||||
|
CFLAGS += ['-Wno-unused',
|
||||||
|
'-Wno-uninitialized']
|
||||||
|
|
||||||
if CONFIG['_MSC_VER']:
|
if CONFIG['_MSC_VER']:
|
||||||
CFLAGS += ['-wd4273'] # inconsistent dll linkage (bug 558163)
|
CFLAGS += ['-wd4273'] # inconsistent dll linkage (bug 558163)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue