From b187e388de5e58200cfd7d459a8017e8937f3e3b Mon Sep 17 00:00:00 2001 From: ellson <devnull@localhost> Date: Wed, 23 Feb 2005 23:02:24 +0000 Subject: [PATCH] Turn on the extra compile warnings that SuSE use - gcc compilers only Fix the function declaration error caught in the __eprintf test in configure.ac itself ! --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index fd1b76edb..e2911ea05 100644 --- a/configure.ac +++ b/configure.ac @@ -124,7 +124,7 @@ else CFLAGS="${CFLAGS} -fno-common -Wall" ;; * ) - CFLAGS="${CFLAGS} -Wall -ffast-math" + CFLAGS="${CFLAGS} -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math" ;; esac ;; @@ -1239,9 +1239,7 @@ AC_MSG_CHECKING(if assert needs __eprintf) cat > conftest.$ac_ext <<EOF #include "confdefs.h" #include "assert.h" -int main(argc) - int argc; -{ +int main(int argc, char **argv) { assert(argc); ; return 0; } EOF -- 2.40.0