Build started at 2019-04-22T08:14:47.973430
Main binary: c:\program files\python\python37\python.exe
Python system: Windows
The Meson build system
Version: 0.50.1
Source dir: C:\cygwin\home\Eion\win32-dev\deltachat-core-0.42.0
Build dir: C:\cygwin\home\Eion\win32-dev\deltachat-core-0.42.0\builddir
Build type: native build
Project name: deltachat-core
Project version: 0.0.0
Sanity testing C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc
Is cross compiler: False.
Sanity check compiler command line: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin\home\Eion\win32-dev\deltachat-core-0.42.0\builddir\meson-private\sanitycheckc.c -o C:\cygwin\home\Eion\win32-dev\deltachat-core-0.42.0\builddir\meson-private\sanitycheckc.exe
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: C:\cygwin\home\Eion\win32-dev\deltachat-core-0.42.0\builddir\meson-private\sanitycheckc.exe
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Build machine cpu family: x86
Build machine cpu: x86
Program git found: YES (C:\cygwin64\bin\git.EXE)
Running command: C:\cygwin64\bin\git.EXE describe --tags --match=v*
--- stdout ---

--- stderr ---
fatal: not a git repository (or any parent up to mount point /cygdrive)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).


meson.build:32: WARNING: Git version not found, using (dummy) project version
Dependency threads found: YES 
Running compile:
Working directory:  C:\cygwin64\tmp\tmpmmc1dodx
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpmmc1dodx\testfile.c -pipe -o C:\cygwin64\tmp\tmpmmc1dodx\output.exe -O0 -Wl,--start-group -lm -Wl,--end-group 

Code:
 int main(int argc, char **argv) { return 0; }
Compiler stdout:
 
Compiler stderr:
 
Library m found: YES
Pkg-config binary for MachineChoice.HOST is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default pkg-config fallback at pkg-config
Unusable script 'C:\\cygwin64\\bin\\pkg-config'
Trying pkg-config binary pkg-config for machine MachineChoice.HOST at [None]
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.HOST is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Trying CMake binary cmake for machine MachineChoice.HOST at [None]
Did not find CMake 'cmake'
Found CMake: NO
No CMake binary for machine MachineChoice.HOST not found. Giving up.
Dependency zlib found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency zlib

Executing subproject zlib 

Project name: zlib
Project version: 1.2.11
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Running compile:
Working directory:  C:\cygwin64\tmp\tmp25ppakag
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp25ppakag\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp25ppakag\output.obj -O0 -Wno-implicit-fallthrough -Wimplicit-fallthrough 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wimplicit-fallthrough'

Compiler for C supports arguments -Wno-implicit-fallthrough -Wimplicit-fallthrough: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp87hcdbtc
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp87hcdbtc\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp87hcdbtc\output.obj -O0 -Wno-implicit-function-declaration -Wimplicit-function-declaration 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-implicit-function-declaration -Wimplicit-function-declaration: YES
Windows resource compiler: GNU windres (GNU Binutils) 2.29.1.20171006
Build targets in project: 2
Subproject zlib finished.

Dependency zlib from subproject libs\zlib found: YES
Pkg-config binary for MachineChoice.HOST is cached as not found.
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.HOST is cached as not found
No CMake binary for machine MachineChoice.HOST not found. Giving up.
Dependency openssl found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency openssl

Executing subproject openssl 

Project name: openssl
Project version: 1.0.1t
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Dependency zlib from subproject libs\zlib found: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpucph6gll
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpucph6gll\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpucph6gll\output.obj -O0 -Wno-unused-value -Wunused-value 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
Build targets in project: 3
Subproject openssl finished.

Dependency openssl from subproject libs\openssl found: YES
Pkg-config binary for MachineChoice.HOST is cached as not found.
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.HOST is cached as not found
No CMake binary for machine MachineChoice.HOST not found. Giving up.
Dependency libsasl2 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libsasl2

Executing subproject cyrussasl 

Project name: cyrussasl
Project version: 2.1.25
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Dependency openssl from subproject libs\openssl found: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmph7hm4x8_
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmph7hm4x8_\testfile.c -pipe -c -o C:\cygwin64\tmp\tmph7hm4x8_\output.obj -O0 -Wno-discarded-qualifiers -Wdiscarded-qualifiers 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wdiscarded-qualifiers'

Compiler for C supports arguments -Wno-discarded-qualifiers -Wdiscarded-qualifiers: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp07x7uryq
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp07x7uryq\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp07x7uryq\output.obj -O0 -Wno-format -Wformat 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-format -Wformat: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmp13bp71kx
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp13bp71kx\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp13bp71kx\output.obj -O0 -Wno-incompatible-pointer-types -Wincompatible-pointer-types 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wincompatible-pointer-types'

Compiler for C supports arguments -Wno-incompatible-pointer-types -Wincompatible-pointer-types: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpx8lqeu96
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpx8lqeu96\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpx8lqeu96\output.obj -O0 -Wno-nonnull-compare -Wnonnull-compare 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wnonnull-compare'

Compiler for C supports arguments -Wno-nonnull-compare -Wnonnull-compare: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpxp3d35ij
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpxp3d35ij\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpxp3d35ij\output.obj -O0 -Wno-parentheses-equality -Wparentheses-equality 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wparentheses-equality'

Compiler for C supports arguments -Wno-parentheses-equality -Wparentheses-equality: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp3jtmomz7
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp3jtmomz7\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp3jtmomz7\output.obj -O0 -Wno-pointer-sign -Wpointer-sign 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-pointer-sign -Wpointer-sign: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmp54j9sj0y
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp54j9sj0y\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp54j9sj0y\output.obj -O0 -Wno-sometimes-uninitialized -Wsometimes-uninitialized 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wsometimes-uninitialized'

Compiler for C supports arguments -Wno-sometimes-uninitialized -Wsometimes-uninitialized: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpbfcfhw0g
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpbfcfhw0g\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpbfcfhw0g\output.obj -O0 -Wno-tautological-compare -Wtautological-compare 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wtautological-compare'

Compiler for C supports arguments -Wno-tautological-compare -Wtautological-compare: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpcnitx83_
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpcnitx83_\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpcnitx83_\output.obj -O0 -Wno-unused-but-set-variable -Wunused-but-set-variable 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-unused-but-set-variable -Wunused-but-set-variable: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpp7xy7sw9
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpp7xy7sw9\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpp7xy7sw9\output.obj -O0 -Wno-unused-const-variable -Wunused-const-variable 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wunused-const-variable'

Compiler for C supports arguments -Wno-unused-const-variable -Wunused-const-variable: NO
Using cached compile:
Cached command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpp7xy7sw9\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpp7xy7sw9\output.obj -O0 -Wno-unused-const-variable -Wunused-const-variable 

Code:
 int i;

Cached compiler stdout:
 
Cached compiler stderr:
 gcc: error: unrecognized command line option '-Wunused-const-variable'

Compiler for C supports arguments -Wno-unused-const-variable -Wunused-const-variable: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpu16m2wnj
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpu16m2wnj\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpu16m2wnj\output.obj -O0 -Wno-unused-function -Wunused-function 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-unused-function -Wunused-function: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpgpq7vu_5
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpgpq7vu_5\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpgpq7vu_5\output.obj -O0 -Wno-unused-variable -Wunused-variable 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable: YES
Build targets in project: 4
Subproject cyrussasl finished.

Dependency libsasl2 from subproject libs\cyrussasl found: YES
Pkg-config binary for MachineChoice.HOST is cached as not found.
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.HOST is cached as not found
No CMake binary for machine MachineChoice.HOST not found. Giving up.
Dependency sqlite3 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency sqlite3

Executing subproject sqlite 

Project name: sqlite
Project version: 3.23.1
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Dependency threads found: YES (cached)
Using cached compile:
Cached command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpu16m2wnj\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpu16m2wnj\output.obj -O0 -Wno-unused-function -Wunused-function 

Code:
 int i;

Cached compiler stdout:
 
Cached compiler stderr:
 
Compiler for C supports arguments -Wno-unused-function -Wunused-function: YES
Build targets in project: 5
Subproject sqlite finished.

Dependency sqlite3 from subproject libs\sqlite found: YES
Program libetpan-config found: NO
Message: Using libetpan fallback...

Executing subproject libetpan 

Project name: etpan
Project version: 1.8
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Dependency threads found: YES (cached)
Dependency zlib from subproject libs\zlib found: YES
Dependency openssl from subproject libs\openssl found: YES
Dependency sqlite3 from subproject libs\sqlite found: YES
Dependency libsasl2 from subproject libs\cyrussasl found: YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpc8lnuubu
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpc8lnuubu\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpc8lnuubu\output.obj -O0 -Wno-format-truncation -Wformat-truncation 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wformat-truncation'

Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp0tl96v28
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp0tl96v28\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp0tl96v28\output.obj -O0 -Wno-misleading-indentation -Wmisleading-indentation 

Code:
 int i;

Compiler stdout:
 
Compiler stderr:
 gcc: error: unrecognized command line option '-Wmisleading-indentation'

Compiler for C supports arguments -Wno-misleading-indentation -Wmisleading-indentation: NO
Using cached compile:
Cached command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp54j9sj0y\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp54j9sj0y\output.obj -O0 -Wno-sometimes-uninitialized -Wsometimes-uninitialized 

Code:
 int i;

Cached compiler stdout:
 
Cached compiler stderr:
 gcc: error: unrecognized command line option '-Wsometimes-uninitialized'

Compiler for C supports arguments -Wno-sometimes-uninitialized -Wsometimes-uninitialized: NO
Using cached compile:
Cached command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpu16m2wnj\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpu16m2wnj\output.obj -O0 -Wno-unused-function -Wunused-function 

Code:
 int i;

Cached compiler stdout:
 
Cached compiler stderr:
 
Compiler for C supports arguments -Wno-unused-function -Wunused-function: YES
Build targets in project: 6
Subproject libetpan finished.


Executing subproject netpgp 

Project name: netpgp
Project version: 20140220
Native C compiler: /home/Eion/win32-dev/mingw-4.7.2/bin/gcc (gcc 4.7.2 "gcc (GCC) 4.7.2")
Dependency threads found: YES (cached)
Dependency zlib from subproject libs\zlib found: YES
Dependency openssl from subproject libs\openssl found: YES
Library bz2 skipped: feature netpgp:bzip2 disabled
Running compile:
Working directory:  C:\cygwin64\tmp\tmphojyzg1a
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmphojyzg1a\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("CommonCrypto/CommonDigest.h")
          #error "Header 'CommonCrypto/CommonDigest.h' could not be found"
         #endif
        #else
         #include <CommonCrypto/CommonDigest.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 C:\cygwin64\tmp\tmphojyzg1a\testfile.c:7:48: fatal error: CommonCrypto/CommonDigest.h: No such file or directory
compilation terminated.

Has header "CommonCrypto/CommonDigest.h" : NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp3lzhkebn
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp3lzhkebn\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("direct.h")
          #error "Header 'direct.h' could not be found"
         #endif
        #else
         #include <direct.h>
        #endif
Compiler stdout:
        
typedef short unsigned int wchar_t;
typedef int ptrdiff_t;
typedef unsigned int size_t;
typedef long __time32_t;
typedef long long __time64_t;
typedef __time32_t time_t;
typedef long _off_t;
typedef _off_t off_t;
typedef unsigned int _dev_t;
typedef _dev_t dev_t;
typedef short _ino_t;
typedef _ino_t ino_t;
typedef int _pid_t;
typedef _pid_t pid_t;
typedef unsigned short _mode_t;
typedef _mode_t mode_t;
typedef int _sigset_t;
typedef _sigset_t sigset_t;
typedef int _ssize_t;
typedef _ssize_t ssize_t;
typedef long long fpos64_t;
typedef long long off64_t;
typedef unsigned int useconds_t;
  typedef int intptr_t;
typedef unsigned long _fsize_t;
struct _finddata_t
{
 unsigned attrib;
 time_t time_create;
 time_t time_access;
 time_t time_write;
 _fsize_t size;
 char name[(260)];
};
struct _finddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    char name[(260)];
};
struct _wfinddata_t {
     unsigned attrib;
     time_t time_create;
     time_t time_access;
     time_t time_write;
     _fsize_t size;
     wchar_t name[(260)];
};
struct _wfinddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    wchar_t name[(260)];
};
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelengthi64(int);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirsti64(const char*, struct _finddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnexti64(intptr_t, struct _finddatai64_t*);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseeki64(int, long long, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _telli64(int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int, off64_t, int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int fd, off64_t offset, int whence)
{
  return _lseeki64(fd, (long long) offset, whence);
}
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _waccess(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchmod(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcreat(const wchar_t*, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirst(const wchar_t*, struct _wfinddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnext(long, struct _wfinddata_t *);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wunlink(const wchar_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wopen(const wchar_t*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsopen(const wchar_t*, int, int, ...);
 wchar_t * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmktemp(wchar_t*);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnexti64(long, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long );
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int);
struct _diskfree_t {
 unsigned total_clusters;
 unsigned avail_clusters;
 unsigned sectors_per_cluster;
 unsigned bytes_per_sector;
};
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrive (void);
 unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrives(void);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdrive (int);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdcwd (int, char*, int);
 unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdiskfree (unsigned, struct _diskfree_t *);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchdir(const wchar_t*);
 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wgetcwd(wchar_t*, int);
 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wgetdcwd(int, wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmkdir(const wchar_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wrmdir(const wchar_t*);

Compiler stderr:
 
Has header "direct.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmp8yk_3kr3
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp8yk_3kr3\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("errno.h")
          #error "Header 'errno.h' could not be found"
         #endif
        #else
         #include <errno.h>
        #endif
Compiler stdout:
        
 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void);

Compiler stderr:
 
Has header "errno.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmp4ifah0p6
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp4ifah0p6\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("fcntl.h")
          #error "Header 'fcntl.h' could not be found"
         #endif
        #else
         #include <fcntl.h>
        #endif
Compiler stdout:
        
typedef int ptrdiff_t;
typedef unsigned int size_t;
typedef short unsigned int wchar_t;
typedef long __time32_t;
typedef long long __time64_t;
typedef __time32_t time_t;
typedef long _off_t;
typedef _off_t off_t;
typedef unsigned int _dev_t;
typedef _dev_t dev_t;
typedef short _ino_t;
typedef _ino_t ino_t;
typedef int _pid_t;
typedef _pid_t pid_t;
typedef unsigned short _mode_t;
typedef _mode_t mode_t;
typedef int _sigset_t;
typedef _sigset_t sigset_t;
typedef int _ssize_t;
typedef _ssize_t ssize_t;
typedef long long fpos64_t;
typedef long long off64_t;
typedef unsigned int useconds_t;
  typedef int intptr_t;
typedef unsigned long _fsize_t;
struct _finddata_t
{
 unsigned attrib;
 time_t time_create;
 time_t time_access;
 time_t time_write;
 _fsize_t size;
 char name[(260)];
};
struct _finddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    char name[(260)];
};
struct _wfinddata_t {
     unsigned attrib;
     time_t time_create;
     time_t time_access;
     time_t time_write;
     _fsize_t size;
     wchar_t name[(260)];
};
struct _wfinddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    wchar_t name[(260)];
};
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelengthi64(int);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirsti64(const char*, struct _finddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnexti64(intptr_t, struct _finddatai64_t*);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseeki64(int, long long, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _telli64(int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int, off64_t, int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int fd, off64_t offset, int whence)
{
  return _lseeki64(fd, (long long) offset, whence);
}
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _waccess(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchmod(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcreat(const wchar_t*, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirst(const wchar_t*, struct _wfinddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnext(long, struct _wfinddata_t *);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wunlink(const wchar_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wopen(const wchar_t*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsopen(const wchar_t*, int, int, ...);
 wchar_t * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmktemp(wchar_t*);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnexti64(long, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long );
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int);

Compiler stderr:
 
Has header "fcntl.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpieh_yg1m
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpieh_yg1m\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("inttypes.h")
          #error "Header 'inttypes.h' could not be found"
         #endif
        #else
         #include <inttypes.h>
        #endif
Compiler stdout:
        
typedef short unsigned int wchar_t;
typedef short unsigned int wint_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
typedef signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int_least16_t;
typedef unsigned short uint_least16_t;
typedef int int_least32_t;
typedef unsigned uint_least32_t;
typedef long long int_least64_t;
typedef unsigned long long uint_least64_t;
typedef signed char int_fast8_t;
typedef unsigned char uint_fast8_t;
typedef short int_fast16_t;
typedef unsigned short uint_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast32_t;
typedef long long int_fast64_t;
typedef unsigned long long uint_fast64_t;
  typedef int intptr_t;
  typedef unsigned int uintptr_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
typedef struct {
 intmax_t quot;
 intmax_t rem;
 } imaxdiv_t;
intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxabs (intmax_t j);
imaxdiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxdiv (intmax_t numer, intmax_t denom);
intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoimax (const char* __restrict__ nptr,
                            char** __restrict__ endptr, int base);
uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoumax (const char* __restrict__ nptr,
        char** __restrict__ endptr, int base);
intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoimax (const wchar_t* __restrict__ nptr,
                            wchar_t** __restrict__ endptr, int base);
uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoumax (const wchar_t* __restrict__ nptr,
        wchar_t** __restrict__ endptr, int base);

Compiler stderr:
 
Has header "inttypes.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpatlm7ucc
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpatlm7ucc\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("limits.h")
          #error "Header 'limits.h' could not be found"
         #endif
        #else
         #include <limits.h>
        #endif
Compiler stdout:
        

Compiler stderr:
 
Has header "limits.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmplguub9qk
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmplguub9qk\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("stdint.h")
          #error "Header 'stdint.h' could not be found"
         #endif
        #else
         #include <stdint.h>
        #endif
Compiler stdout:
 typedef short unsigned int wchar_t;
typedef short unsigned int wint_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
typedef signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int_least16_t;
typedef unsigned short uint_least16_t;
typedef int int_least32_t;
typedef unsigned uint_least32_t;
typedef long long int_least64_t;
typedef unsigned long long uint_least64_t;
typedef signed char int_fast8_t;
typedef unsigned char uint_fast8_t;
typedef short int_fast16_t;
typedef unsigned short uint_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast32_t;
typedef long long int_fast64_t;
typedef unsigned long long uint_fast64_t;
  typedef int intptr_t;
  typedef unsigned int uintptr_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;

Compiler stderr:
 
Has header "stdint.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpu69qi9tv
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpu69qi9tv\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/cdefs.h")
          #error "Header 'sys/cdefs.h' could not be found"
         #endif
        #else
         #include <sys/cdefs.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 C:\cygwin64\tmp\tmpu69qi9tv\testfile.c:7:32: fatal error: sys/cdefs.h: No such file or directory
compilation terminated.

Has header "sys/cdefs.h" : NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpol1meivn
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpol1meivn\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/mman.h")
          #error "Header 'sys/mman.h' could not be found"
         #endif
        #else
         #include <sys/mman.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 C:\cygwin64\tmp\tmpol1meivn\testfile.c:7:31: fatal error: sys/mman.h: No such file or directory
compilation terminated.

Has header "sys/mman.h" : NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmpnixxh9m2
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpnixxh9m2\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/param.h")
          #error "Header 'sys/param.h' could not be found"
         #endif
        #else
         #include <sys/param.h>
        #endif
Compiler stdout:
        
typedef int ptrdiff_t;
typedef unsigned int size_t;
typedef short unsigned int wchar_t;
typedef long __time32_t;
typedef long long __time64_t;
typedef __time32_t time_t;
typedef long _off_t;
typedef _off_t off_t;
typedef unsigned int _dev_t;
typedef _dev_t dev_t;
typedef short _ino_t;
typedef _ino_t ino_t;
typedef int _pid_t;
typedef _pid_t pid_t;
typedef unsigned short _mode_t;
typedef _mode_t mode_t;
typedef int _sigset_t;
typedef _sigset_t sigset_t;
typedef int _ssize_t;
typedef _ssize_t ssize_t;
typedef long long fpos64_t;
typedef long long off64_t;
typedef unsigned int useconds_t;

Compiler stderr:
 
Has header "sys/param.h" : YES
Running compile:
Working directory:  C:\cygwin64\tmp\tmpgolswupm
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpgolswupm\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("termios.h")
          #error "Header 'termios.h' could not be found"
         #endif
        #else
         #include <termios.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 C:\cygwin64\tmp\tmpgolswupm\testfile.c:7:30: fatal error: termios.h: No such file or directory
compilation terminated.

Has header "termios.h" : NO
Running compile:
Working directory:  C:\cygwin64\tmp\tmp7f0upm8b
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp7f0upm8b\testfile.c -pipe -E -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("unistd.h")
          #error "Header 'unistd.h' could not be found"
         #endif
        #else
         #include <unistd.h>
        #endif
Compiler stdout:
        
typedef int ptrdiff_t;
typedef unsigned int size_t;
typedef short unsigned int wchar_t;
typedef long __time32_t;
typedef long long __time64_t;
typedef __time32_t time_t;
typedef long _off_t;
typedef _off_t off_t;
typedef unsigned int _dev_t;
typedef _dev_t dev_t;
typedef short _ino_t;
typedef _ino_t ino_t;
typedef int _pid_t;
typedef _pid_t pid_t;
typedef unsigned short _mode_t;
typedef _mode_t mode_t;
typedef int _sigset_t;
typedef _sigset_t sigset_t;
typedef int _ssize_t;
typedef _ssize_t ssize_t;
typedef long long fpos64_t;
typedef long long off64_t;
typedef unsigned int useconds_t;
  typedef int intptr_t;
typedef unsigned long _fsize_t;
struct _finddata_t
{
 unsigned attrib;
 time_t time_create;
 time_t time_access;
 time_t time_write;
 _fsize_t size;
 char name[(260)];
};
struct _finddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    char name[(260)];
};
struct _wfinddata_t {
     unsigned attrib;
     time_t time_create;
     time_t time_access;
     time_t time_write;
     _fsize_t size;
     wchar_t name[(260)];
};
struct _wfinddatai64_t {
    unsigned attrib;
    time_t time_create;
    time_t time_access;
    time_t time_write;
    long long size;
    wchar_t name[(260)];
};
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelengthi64(int);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirsti64(const char*, struct _finddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnexti64(intptr_t, struct _finddatai64_t*);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseeki64(int, long long, int);
 long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _telli64(int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int, off64_t, int);
extern inline __attribute__((__gnu_inline__)) off64_t lseek64 (int fd, off64_t offset, int whence)
{
  return _lseeki64(fd, (long long) offset, whence);
}
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*);
 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _waccess(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchmod(const wchar_t*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcreat(const wchar_t*, int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirst(const wchar_t*, struct _wfinddata_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnext(long, struct _wfinddata_t *);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wunlink(const wchar_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wopen(const wchar_t*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsopen(const wchar_t*, int, int, ...);
 wchar_t * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmktemp(wchar_t*);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnexti64(long, struct _wfinddatai64_t*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long );
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...);
 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int);
typedef short unsigned int wint_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
typedef signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int_least16_t;
typedef unsigned short uint_least16_t;
typedef int int_least32_t;
typedef unsigned uint_least32_t;
typedef long long int_least64_t;
typedef unsigned long long uint_least64_t;
typedef signed char int_fast8_t;
typedef unsigned char uint_fast8_t;
typedef short int_fast16_t;
typedef unsigned short uint_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast32_t;
typedef long long int_fast64_t;
typedef unsigned long long uint_fast64_t;
  typedef unsigned int uintptr_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cexit(void);
 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _c_exit(void);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cwait (int*, _pid_t, int);
 _pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getpid(void);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execl (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execle (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlp (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlpe (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execv (const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execve (const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvp (const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvpe (const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnl (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnle (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlp (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlpe (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnv (int, const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnve (int, const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvp (int, const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvpe (int, const char*, const char* const*, const char* const*);
 unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__))
 _beginthread (void (*)(void *), unsigned, void*);
 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _endthread (void);
 unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__))
 _beginthreadex (void *, unsigned, unsigned (__attribute__((__stdcall__)) *) (void *),
    void*, unsigned, unsigned*);
 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _endthreadex (unsigned);
 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) cwait (int*, pid_t, int);
 pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getpid (void);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execl (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execle (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlp (const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlpe (const char*, const char*,...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execv (const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execve (const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvp (const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvpe (const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnl (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnle (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlp (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlpe (int, const char*, const char*, ...);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnv (int, const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnve (int, const char*, const char* const*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvp (int, const char*, const char* const*);
 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvpe (int, const char*, const char* const*, const char* const*);
extern int optind;
extern int optopt;
extern int opterr;
extern char *optarg;
extern int getopt( int, char * const [], const char * );
int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) usleep(useconds_t useconds);
int ftruncate(int, off_t);

Compiler stderr:
 
Has header "unistd.h" : YES
Configuring config-netpgp-meson.h using configuration
Using cached compile:
Cached command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmp0tl96v28\testfile.c -pipe -c -o C:\cygwin64\tmp\tmp0tl96v28\output.obj -O0 -Wno-misleading-indentation -Wmisleading-indentation 

Code:
 int i;

Cached compiler stdout:
 
Cached compiler stderr:
 gcc: error: unrecognized command line option '-Wmisleading-indentation'

Compiler for C supports arguments -Wno-misleading-indentation -Wmisleading-indentation: NO
Build targets in project: 7
Subproject netpgp finished.

libs\zlib-1.2.11\meson.build:68: DEPRECATION: Library z was passed to the "libraries" keyword argument of a previous call to generate() method instead of first positional argument. Adding zlib to "Requires" field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case.
Adding test "stress test"
Build targets in project: 9
Found ninja-1.9.0 at 'C:\Program Files\Python\Python37\Scripts\ninja.EXE'
Running compile:
Working directory:  C:\cygwin64\tmp\tmpayozgxrj
Command line:  /home/Eion/win32-dev/mingw-4.7.2/bin/gcc C:\cygwin64\tmp\tmpayozgxrj\testfile.c -pipe -c -o C:\cygwin64\tmp\tmpayozgxrj\output.obj -O0 --print-search-dirs 

Code:
 
Compiler stdout:
 install: c:\home\eion\win32-dev\mingw-4.7.2\bin\../lib/gcc/mingw32/4.7.2/
programs: =c:/home/eion/win32-dev/mingw-4.7.2/bin/../libexec/gcc/mingw32/4.7.2/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../libexec/gcc/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/mingw32/4.7.2/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/
libraries: =c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/lib/mingw32/4.7.2/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/lib/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../mingw32/4.7.2/;c:/home/eion/win32-dev/mingw-4.7.2/bin/../lib/gcc/mingw32/4.7.2/../../../;/mingw/lib/mingw32/4.7.2/;/mingw/lib/

Compiler stderr:
 
