Skip to content

Commit

Permalink
Merge pull request #3017 from pacovn/devbuild_Wshadow_flag
Browse files Browse the repository at this point in the history
build: add -Wshadow to the dev build
  • Loading branch information
eqvinox authored Sep 18, 2018
2 parents b928bc5 + 2b5773b commit dc790ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc790ba

Please sign in to comment.