Merge pull request #3017 from pacovn/devbuild_Wshadow_flag

build: add -Wshadow to the dev build
This commit is contained in:
David Lamparter 2018-09-18 16:31:23 +02:00 committed by GitHub
commit dc790ba83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,7 @@ if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
AC_C_FLAG([-Wunreachable-code])
AC_C_FLAG([-Wpacked])
AC_C_FLAG([-Wpadded])
AC_C_FLAG([-Wshadow])
else
AC_C_FLAG([-Wno-unused-result])
fi