From: Simon Josefsson Date: Thu, 28 Aug 2008 14:21:10 +0000 (+0200) Subject: Drop warning. X-Git-Tag: gnutls_2_5_5~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d15b628ab541ef2ca97de44e0209c17d23e22a9e;p=thirdparty%2Fgnutls.git Drop warning. --- diff --git a/configure.in b/configure.in index 4007fc641b..5d96d38eca 100644 --- a/configure.in +++ b/configure.in @@ -133,7 +133,8 @@ if test $ac_cv_c_compiler_gnu != no; then if test x$opt_developer_mode = xyes; then AC_MSG_CHECKING([whether gcc supports various warning flags]) _gcc_cflags_save="$CFLAGS" - CFLAGS="${CFLAGS} -Wall -W -Wchar-subscripts -Wformat-security -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused -Wfloat-equal -Wtraditional -Wtraditional-conversion -Wdeclaration-after-statement -Wundef -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wconversion -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wpadded -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wvla -Wvolatile-register-var -Wdisabled-optimization -Wstack-protector -Woverlength-strings" + CFLAGS="${CFLAGS} -Wall -W -Wchar-subscripts -Wformat-security -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused -Wfloat-equal -Wtraditional-conversion -Wdeclaration-after-statement -Wundef -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wconversion -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wpadded -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wvla -Wvolatile-register-var -Wdisabled-optimization -Wstack-protector -Woverlength-strings" + # -Wtraditional: warns on #elif which we use often AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),_gcc_warns=yes,_gcc_warns=no) AC_MSG_RESULT($_gcc_warns) if test x"$_gcc_warns" != xyes ; then