summaryrefslogtreecommitdiffstats
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
commiteb2016063a119d5b3fb78cf657d400742fb3d8fd (patch)
tree0b1cee1e8ecc3f35c1f3e89d95671e9300935ca0
parenta90b6fe53b6843833e548a17a2f1fe55e71dbc5f (diff)
parent41b67450599e4267a38c1a5ae2eba6bcd1c730b5 (diff)
downloadUXP-eb2016063a119d5b3fb78cf657d400742fb3d8fd.tar
UXP-eb2016063a119d5b3fb78cf657d400742fb3d8fd.tar.gz
UXP-eb2016063a119d5b3fb78cf657d400742fb3d8fd.tar.lz
UXP-eb2016063a119d5b3fb78cf657d400742fb3d8fd.tar.xz
UXP-eb2016063a119d5b3fb78cf657d400742fb3d8fd.zip
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 feeb4fb07..a7c1e5f2a 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)