]> granicus.if.org Git - check/commitdiff
add comment about not using -pedantic flag due to solaris issue
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 7 May 2014 11:03:17 +0000 (11:03 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 7 May 2014 11:03:17 +0000 (11:03 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1129 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac

index de231ebb6e1f38062892fb9c03004fff5d6bf8dd..f8ee4af0b737b3e79def1d50dcee16af1031cb97 100644 (file)
@@ -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])