1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Add -Wunused-parameter to the gcc 4.* args

kahmalo reported that it spits out warnings for gcc version 4.1.0 20050716
(experimental).
This commit is contained in:
Jonas Fonseca 2005-12-06 12:32:46 +01:00 committed by Jonas Fonseca
parent b06a8adeac
commit df8aae9742

View File

@ -1241,7 +1241,7 @@ if test "x$ac_cv_prog_gcc" = "xyes"; then
4.*) 4.*)
# Do not show warnings related to (char * | unsigned char *) type # Do not show warnings related to (char * | unsigned char *) type
# difference. # difference.
CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign" CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign -Wunused-parameter"
;; ;;
*) *)
# These should be ok using -Werror # These should be ok using -Werror