Bug 1418047 - remove -Wc++11-compat warning; r=rillian
authorNathan Froyd <froydnj@mozilla.com>
Thu, 16 Nov 2017 20:51:46 -0500
changeset 392218 10f07d496d6acd47c54cbf989b940c71f717a858
parent 392217 c9bfe1a78bbbc0e2b13d7635dcf17177fcdda062
child 392219 62b42bf135c1ea5a5b6e8d0255547eff98cc7169
push id97428
push usernfroyd@mozilla.com
push dateFri, 17 Nov 2017 01:51:59 +0000
treeherdermozilla-inbound@10f07d496d6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1418047
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)