Bug 1418573 - Remove -Wc++14-compat flag because we now compile with -std=c++14. r?rillian
-Wc++14-compat warns about code whose meaning differs between C++11 and C++14. We want the new C++14 meanings, so we don't need to warn about these differences. We still want -Wc++1z-compat because we want to know about C++14 code whose meaning will change in C++17 or C++20.
MozReview-Commit-ID: 1CD11l2Fd86
--- a/build/moz.configure/warnings.configure
+++ b/build/moz.configure/warnings.configure
@@ -49,18 +49,16 @@ add_gcc_warning('-Wno-invalid-offsetof',
# catches objects passed by value to variadic functions.
check_and_add_gcc_warning('-Wclass-varargs')
# catches issues around loops
check_and_add_gcc_warning('-Wloop-analysis')
# catches C++ version forward-compat issues
-check_and_add_gcc_warning('-Wc++14-compat', cxx_compiler)
-check_and_add_gcc_warning('-Wc++14-compat-pedantic', cxx_compiler)
check_and_add_gcc_warning('-Wc++1z-compat', cxx_compiler)
# catches possible misuse of the comma operator
check_and_add_gcc_warning('-Wcomma', cxx_compiler)
# catches duplicated conditions in if-else-if chains
check_and_add_gcc_warning('-Wduplicated-cond')