From 93c447a0de1945ca97275c7b8bd00b4ea13828e3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Feb 2017 15:48:27 -0500 Subject: [PATCH] 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 --- Makefile.am | 1 + Makefile.in | 1 + 2 files changed, 2 insertions(+) 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 \