From: brarcher Date: Wed, 7 May 2014 11:03:17 +0000 (+0000) Subject: add comment about not using -pedantic flag due to solaris issue X-Git-Tag: 0.10.0~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf55d2e209e79c6ff1b5178c4df9e94061be6c7f;p=check 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 --- 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])