Bug 1411158 - Remove some warning exceptions in memory/build/moz.build. r=njn
Bug 1403444 massively refactored the red-black tree code, with the
result of removing the warnings the old code was triggering. We can thus
remove the exceptions for those warnings now.
--- a/memory/build/moz.build
+++ b/memory/build/moz.build
@@ -40,17 +40,12 @@ Library('memory')
if CONFIG['OS_TARGET'] == 'Android' and CONFIG['CC_TYPE'] == 'clang':
CFLAGS += [
'-Wno-tautological-pointer-compare',
]
FINAL_LIBRARY = 'mozglue'
-if CONFIG['GNU_CXX']:
- # too many warnings from functions generated through rb_wrab from rb.h.
- CXXFLAGS += ['-Wno-unused-function',
- '-Wno-error=uninitialized']
-
if CONFIG['_MSC_VER']:
CXXFLAGS += ['-wd4273'] # inconsistent dll linkage (bug 558163)
DisableStlWrapping()