Bug 1418047 - remove -Wc++11-compat warning; r=rillian
authorNathan Froyd <froydnj@mozilla.com>
Thu, 16 Nov 2017 20:51:46 -0500
changeset 436745 10f07d496d6acd47c54cbf989b940c71f717a858
parent 436744 c9bfe1a78bbbc0e2b13d7635dcf17177fcdda062
child 436746 62b42bf135c1ea5a5b6e8d0255547eff98cc7169
push id117
push userfmarier@mozilla.com
push dateTue, 28 Nov 2017 20:17:16 +0000
reviewersrillian
bugs1418047
milestone59.0a1
Bug 1418047 - remove -Wc++11-compat warning; r=rillian We live in a C++14 world now.
build/moz.configure/warnings.configure
--- a/build/moz.configure/warnings.configure
+++ b/build/moz.configure/warnings.configure
@@ -14,19 +14,16 @@ add_old_configure_assignment(
 
 
 # GCC/Clang warnings:
 # https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Warning-Options.html
 
 # lots of useful warnings
 add_gcc_warning('-Wall')
 
-# catches C++ version forward-compat issues
-add_gcc_warning('-Wc++11-compat', cxx_compiler)
-
 # catches bugs, e.g. "if (c); foo();", few false positives
 add_gcc_warning('-Wempty-body')
 
 # catches return types with qualifiers like const
 add_gcc_warning('-Wignored-qualifiers')
 
 # function declaration hides virtual function from base class
 add_gcc_warning('-Woverloaded-virtual', cxx_compiler)