From bf55d2e209e79c6ff1b5178c4df9e94061be6c7f Mon Sep 17 00:00:00 2001 From: brarcher Date: Wed, 7 May 2014 11:03:17 +0000 Subject: [PATCH] add comment about not using -pedantic flag due to solaris issue git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1129 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index de231eb..f8ee4af 100644 --- a/configure.ac +++ b/configure.ac @@ -146,6 +146,8 @@ AC_DEFUN([AX_CFLAGS_ADD],[AX_C_CHECK_FLAG($1, , , CFLAGS="$CFLAGS $1")]) # which prevents Check from compiling. Add after this is resolved: # sourceforge.net/p/mingw/bugs/2024 #AX_CFLAGS_WARN_ALL_ANSI +# Do not use the -pedantic flag, as on solaris it has a different +# meaning than on gcc. Using the flag causes the build to fail. AX_CFLAGS_ADD([-Wextra]) AX_CFLAGS_ADD([-Wstrict-prototypes]) AX_CFLAGS_ADD([-Wmissing-prototypes]) -- 2.50.1