From e7b3cf9850374df232d2cf264dcfcfdca97d80a9 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 4 Aug 2016 16:58:07 -0400 Subject: [PATCH] build: Make -Werror=int-conversion fatal This should hopefully avoid me accidentally passing NULL for an `int` file descriptor in the future. Closes: #431 Approved by: giuseppe --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 18ab7b04..4831bcc4 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\ -Werror=missing-declarations \ -Werror=return-type \ -Werror=overflow \ + -Werror=int-conversion \ -Werror=missing-include-dirs -Werror=aggregate-return \ -Werror=declaration-after-statement \ ])