Skip to content

Commit

Permalink
Move check for -Werror=narrowing to join other -Werror checks
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jan 14, 2018
1 parent 42798c0 commit fdd5276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/m4/boxbackup_tests.m4
Expand Up @@ -31,6 +31,7 @@ BOX_CHECK_CXX_FLAG(-Wall)
BOX_CHECK_CXX_FLAG(-Werror=return-type)
BOX_CHECK_CXX_FLAG(-Werror=non-virtual-dtor)
BOX_CHECK_CXX_FLAG(-Werror=delete-non-virtual-dtor)
BOX_CHECK_CXX_FLAG(-Werror=narrowing)
BOX_CHECK_CXX_FLAG(-Werror=parentheses)
BOX_CHECK_CXX_FLAG(-Werror=undefined-bool-conversion)
BOX_CHECK_CXX_FLAG(-Werror=unused-private-field)
Expand All @@ -49,7 +50,6 @@ BOX_CHECK_CXX_FLAG(-Wno-deprecated-declarations, -Wdeprecated-declarations)
# We also get copious warnings from the 'register' storage class specifier in the system
# headers (ntohl and friends) which we can't do much about, so disable it:
BOX_CHECK_CXX_FLAG(-Wno-deprecated-register, -Wdeprecated-register)
BOX_CHECK_CXX_FLAG(-Werror=narrowing)
AC_SUBST([CXXFLAGS_STRICT], [$cxxflags_strict])

if test "x$GXX" = "xyes"; then
Expand Down

0 comments on commit fdd5276

Please sign in to comment.