From a2d627352de9551e7b0dd93c2a7bc4dcb57b433b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 7 Dec 2016 09:55:10 -0500 Subject: [PATCH] build: Add more default errors Newer gcc has `-Wincompatible-pointer-types`, hooray! Add a few others that we pass today. Closes: #618 Approved by: jlebon --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index cb1cc980..ff27b0a0 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,9 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\ -Werror=return-type \ -Werror=overflow \ -Werror=int-conversion \ + -Werror=parenthesis \ + -Werror=incompatible-pointer-types \ + -Werror=misleading-indentation \ -Werror=missing-include-dirs -Werror=aggregate-return \ -Werror=declaration-after-statement \ ])