From a72a7e39bc52fcfaabd0cc34f1e555b734e182e8 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 25 Aug 2014 20:15:42 +0000 Subject: [PATCH] =?UTF-8?q?build:=20reduce=20strict=20overflow=20warnings,?= =?UTF-8?q?=20they=E2=80=99re=20a=20bit=20too=20verbose.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 0b8fc829..5558bcd3 100644 --- a/configure.ac +++ b/configure.ac @@ -207,6 +207,7 @@ LOL_TRY_CXXFLAGS(-Wcast-align, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-align"]) LOL_TRY_CXXFLAGS(-Wcast-qual, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-qual"]) LOL_TRY_CXXFLAGS(-Wshadow, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wshadow"]) LOL_TRY_CXXFLAGS(-Wsign-compare, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wsign-compare"]) +LOL_TRY_CXXFLAGS(-Wstrict-overflow=1, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-overflow=1"]) dnl Add these even though they're implicitly set, so that we can safely dnl remove them from within a Makefile.