From 18b3cb6c52479cc3ec53d011cd8e08549f750619 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 4 Sep 2015 11:37:41 -0400 Subject: [PATCH] Bug 1201938 - Treat warnings as errors in Linux static analysis builds; r=mystor --- browser/config/mozconfigs/linux64/debug-static-analysis-clang | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser/config/mozconfigs/linux64/debug-static-analysis-clang b/browser/config/mozconfigs/linux64/debug-static-analysis-clang index 37a5bb104432..2c25e983692c 100644 --- a/browser/config/mozconfigs/linux64/debug-static-analysis-clang +++ b/browser/config/mozconfigs/linux64/debug-static-analysis-clang @@ -14,6 +14,9 @@ export CXX="$topsrcdir/clang/bin/clang++" # Add the static checker ac_add_options --enable-clang-plugin +# Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS). +ac_add_options --enable-warnings-as-errors + # Avoid dependency on libstdc++ 4.7 ac_add_options --enable-stdcxx-compat