From: brarcher Date: Fri, 14 Feb 2014 10:59:03 +0000 (+0000) Subject: configure.ac: add comment regarding not using -ansi X-Git-Tag: 0.10.0~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a6ba05ae1a062df8846d57be7f834db06fb1118;p=check configure.ac: add comment regarding not using -ansi git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1112 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/configure.ac b/configure.ac index c3ea054..5cbad30 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,9 @@ AC_PROG_LIBTOOL # add these options to CFLAGS if the compiler supports them AC_DEFUN([AX_CFLAGS_ADD],[AX_C_CHECK_FLAG($1, , , CFLAGS="$CFLAGS $1")]) +# Do not use the -ansi flag, currently there is a bug in MinGW/MinGW-w64 +# which prevents Check from compiling. Add after this is resolved: +# sourceforge.net/p/mingw/bugs/2024 #AX_CFLAGS_WARN_ALL_ANSI AX_CFLAGS_ADD([-Wextra]) AX_CFLAGS_ADD([-Wstrict-prototypes])