comparison configure.in @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 702b5727498a
children e2fdc9035c5b
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
2053 esac 2053 esac
2054 elif test "$CC" = "xlc"; then 2054 elif test "$CC" = "xlc"; then
2055 cflags_warning="-qinfo" 2055 cflags_warning="-qinfo"
2056 elif test "$GCC" = "yes"; then 2056 elif test "$GCC" = "yes"; then
2057 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" 2057 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes"
2058 cflags_warning="$cflags_warning -Wunused-parameter -Wunused-variable"
2059
2058 dnl Yuck, bad compares have been worth at least 3 crashes! 2060 dnl Yuck, bad compares have been worth at least 3 crashes!
2059 cflags_warning="$cflags_warning -Wsign-compare" 2061 cflags_warning="$cflags_warning -Wsign-compare"
2060 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" 2062 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes"
2061 if test "$__GCC3" = "yes"; then 2063 if test "$__GCC3" = "yes"; then
2062 cflags_warning="$cflags_warning -Wpacked" 2064 cflags_warning="$cflags_warning -Wpacked"