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 2016-08-04 16:58:07 -04:00 committed by Atomic Bot
parent 76d6afa707
commit e7b3cf9850
1 changed files with 1 additions and 0 deletions

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 \
])