summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-09-08 18:12:00 +0200
committerGitHub <noreply@github.com>2018-09-08 18:12:00 +0200
commit3806dce4e7c3e3048bc37ff88b9ab9468c135cef (patch)
tree0b1cee1e8ecc3f35c1f3e89d95671e9300935ca0
parent8351caa2ad261bc3f37b32683eec557a4a7e0318 (diff)
parent4cf0237ca71450b6409894424eae009fcc3230a1 (diff)
downloaduxp-3806dce4e7c3e3048bc37ff88b9ab9468c135cef.tar.gz
Merge pull request #758 from trav90/buildsystem-work
Silence the -Wuninitialized warning in mozjemalloc
-rw-r--r--memory/mozjemalloc/moz.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/memory/mozjemalloc/moz.build b/memory/mozjemalloc/moz.build
index feeb4fb07c..a7c1e5f2ac 100644
--- a/memory/mozjemalloc/moz.build
+++ b/memory/mozjemalloc/moz.build
@@ -37,7 +37,10 @@ LOCAL_INCLUDES += [
]
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']:
CFLAGS += ['-wd4273'] # inconsistent dll linkage (bug 558163)