Skip to content

Commit

Permalink
Disable truncation warnings for GCC 8.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpeshansky authored and qingling128 committed Nov 6, 2019
1 parent a335ad1 commit c24225c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6861,8 +6861,8 @@ AC_CONFIG_FILES([src/libcollectdclient/collectd/lcc_features.h])
AM_CFLAGS="-Wall"
AM_CXXFLAGS="-Wall"
if test "x$enable_werror" != "xno"; then
AM_CFLAGS="$AM_CFLAGS -Werror"
AM_CXXFLAGS="$AM_CXXFLAGS -Werror"
AM_CFLAGS="$AM_CFLAGS -Werror -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow"
AM_CXXFLAGS="$AM_CXXFLAGS -Werror -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow"
fi
AC_SUBST([AM_CFLAGS])
Expand Down

0 comments on commit c24225c

Please sign in to comment.