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:
parent
b06a8adeac
commit
df8aae9742
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user