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
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-08-08 11:13:06 +00:00
1 parent 76d6afa707
commit e7b3cf9850
1 file changed
+1
+1
View File
@@ -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 \
])