From 8a6ba05ae1a062df8846d57be7f834db06fb1118 Mon Sep 17 00:00:00 2001 From: brarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a> Date: Fri, 14 Feb 2014 10:59:03 +0000 Subject: [PATCH] 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 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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]) -- 2.40.0