mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add -Wpointer-arith to --enable-warnings
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -21821,7 +21821,7 @@ _ACEOF
|
||||
|
||||
if test -n "$GCC"; then
|
||||
if test X"$enable_warnings" = X"yes" -o X"$with_devel" = X"yes"; then
|
||||
CFLAGS="${CFLAGS} -Wall -Wsign-compare -Wold-style-definition"
|
||||
CFLAGS="${CFLAGS} -Wall -Wsign-compare -Wold-style-definition -Wpointer-arith"
|
||||
fi
|
||||
if test X"$enable_werror" = X"yes"; then
|
||||
CFLAGS="${CFLAGS} -Werror"
|
||||
|
@@ -3636,7 +3636,7 @@ dnl We add -Wall and -Werror after all tests so they don't cause failures
|
||||
dnl
|
||||
if test -n "$GCC"; then
|
||||
if test X"$enable_warnings" = X"yes" -o X"$with_devel" = X"yes"; then
|
||||
CFLAGS="${CFLAGS} -Wall -Wsign-compare -Wold-style-definition"
|
||||
CFLAGS="${CFLAGS} -Wall -Wsign-compare -Wold-style-definition -Wpointer-arith"
|
||||
fi
|
||||
if test X"$enable_werror" = X"yes"; then
|
||||
CFLAGS="${CFLAGS} -Werror"
|
||||
|
Reference in New Issue
Block a user