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