mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-17 22:55:43 +00:00
Merge pull request #3017 from pacovn/devbuild_Wshadow_flag
build: add -Wshadow to the dev build
This commit is contained in:
commit
dc790ba83d
@ -231,6 +231,7 @@ if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
|
|||||||
AC_C_FLAG([-Wunreachable-code])
|
AC_C_FLAG([-Wunreachable-code])
|
||||||
AC_C_FLAG([-Wpacked])
|
AC_C_FLAG([-Wpacked])
|
||||||
AC_C_FLAG([-Wpadded])
|
AC_C_FLAG([-Wpadded])
|
||||||
|
AC_C_FLAG([-Wshadow])
|
||||||
else
|
else
|
||||||
AC_C_FLAG([-Wno-unused-result])
|
AC_C_FLAG([-Wno-unused-result])
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user