[cmake-developers] compile error in master using mingw-w64

Brad King brad.king at kitware.com
Tue Nov 25 14:39:05 EST 2014


On 11/23/2014 09:02 AM, Maik Zimmermann wrote:
> I noted that the mingw build on the dashboard are not failing.

It is likely specific to the 64-bit version.  Would you be able to
run a nightly build for mingw-w64?  Instructions are here:

 http://www.cmake.org/Wiki/CMake/Git/Dashboard

> MinGW seems to define mode_t in either fcntl.h or sys/types.h

IIRC, POSIX says sys/types.h defines mode_t.  We include sys/types.h
unconditionally already in some other sources, so try adding that
to cmStandardIncludes.h.  It can go just above the

  #include <stdarg.h>

line.

Thanks,
-Brad



More information about the cmake-developers mailing list