aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2017-02-06 15:48:27 -0500
committerMike Frysinger <vapier@chromium.org>2017-02-13 17:55:06 +0000
commit93c447a0de1945ca97275c7b8bd00b4ea13828e3 (patch)
tree1eedd18711ab17c648894d674c270ad77a220a62
parentprocessor: drop set-but-unused variable (diff)
downloadbreakpad-93c447a0de1945ca97275c7b8bd00b4ea13828e3.tar.xz
turn on -Werror generally
This moves us to being warning free by default rather than being free of some specific warnings. This doesn't turn on any new warnings though. Change-Id: I60bb79d1790e85ec4618b3548dad6de5d9bf8ab5 Reviewed-on: https://chromium-review.googlesource.com/438565 Reviewed-by: Mark Mentovai <mark@chromium.org>
-rw-r--r--Makefile.am1
-rw-r--r--Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ad4e6180..7771a6e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,6 +46,7 @@ endif
if GCC
# These are good warnings to be treated as errors
AM_CXXFLAGS += \
+ -Werror \
-Werror=missing-braces \
-Werror=non-virtual-dtor \
-Werror=overloaded-virtual \
diff --git a/Makefile.in b/Makefile.in
index 2d2bd9b4..2de8fd3e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -131,6 +131,7 @@ host_triplet = @host@
# These are good warnings to be treated as errors
@GCC_TRUE@am__append_2 = \
+@GCC_TRUE@ -Werror \
@GCC_TRUE@ -Werror=missing-braces \
@GCC_TRUE@ -Werror=non-virtual-dtor \
@GCC_TRUE@ -Werror=overloaded-virtual \