]> granicus.if.org Git - check/commit
configure.ac: do not compile with -ansi for now
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 21 Oct 2013 03:26:29 +0000 (03:26 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 21 Oct 2013 03:26:29 +0000 (03:26 +0000)
commita974ad48cdcc68cc5192c50820880e95ffee9ae5
tree50d99576d74ad61a46c6e5810d4127ec81f698ee
parent630aebe1369d056df8f3d72771a88534d713900b
configure.ac: do not compile with -ansi for now

There is currently a bug on the MinGW/MinGW-w64 platforms:
   sourceforge.net/p/mingw/bugs/2024
where compiling with -ansi will not define the off64_t type,
but including unistd.h will require it to be defined else
a compile error will result.

Attempting to define a replacement in config.h also fails; config.h
will work for check's code, but the code that libtool produces
then fails, meaning unit tests fail to compile.

When the MinGW bug is resolved, we can start compiling with -ansi again.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@846 64e312b2-a51f-0410-8e61-82d0ca0eb02a
configure.ac