diff options
author | trav90 <travawine@palemoon.org> | 2018-09-08 08:43:33 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-09-08 10:00:10 -0500 |
commit | 41b67450599e4267a38c1a5ae2eba6bcd1c730b5 (patch) | |
tree | 8e2d5c6e0644119e3fc35d87580b700fc219df18 /memory/mozjemalloc/moz.build | |
parent | cb71415364c1653cbabf63d1edeb8fbd28554652 (diff) | |
download | UXP-41b67450599e4267a38c1a5ae2eba6bcd1c730b5.tar UXP-41b67450599e4267a38c1a5ae2eba6bcd1c730b5.tar.gz UXP-41b67450599e4267a38c1a5ae2eba6bcd1c730b5.tar.lz UXP-41b67450599e4267a38c1a5ae2eba6bcd1c730b5.tar.xz UXP-41b67450599e4267a38c1a5ae2eba6bcd1c730b5.zip |
Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
Diffstat (limited to 'memory/mozjemalloc/moz.build')
-rw-r--r-- | memory/mozjemalloc/moz.build | 5 |
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) |