This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tkblt configure 3.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --enable-threads --enable-64bit --with-tcl=/c/src/tcl8.6.8-x64/win --with-tk=/c/src/tk8.6.8-x64/win --prefix=/c/bin/tcl8.6.8-x64 CPPFLAGS=-static

## --------- ##
## Platform. ##
## --------- ##

hostname = yusuke-t440p
uname -m = x86_64
uname -r = 2.10.0(0.325/5/3)
uname -s = MINGW64_NT-6.1
uname -v = 2018-02-09 15:25

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /mingw64/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /c/Windows/System32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2129: loading site script /mingw64/etc/config.site
| # This file is in public domain.
| # Original author: Karlson2k (Evgeny Grin)
| # Written for MSys2/MinGW64 to help running 'configure' scripts
| 
| # Defaults for MinGW64-targeted programs
| 
| # Set proper selfname on bash and fallback to default name on other shells
| test -n "${BASH_SOURCE}" 2>/dev/null && config_site_me="${BASH_SOURCE[0]##*/}" || config_site_me=config.site
| 
| # Set default 'host' to speedup configure
| if test -z "$build_alias"; then
|   build_alias="${MSYSTEM_CHOST-x86_64-w64-mingw32}" && \
|     $as_echo "$config_site_me:${as_lineno-$LINENO}: default build_alias set to $build_alias" >&5 
| fi
| 
| # Set default 'prefix' to "/mingw64"
| if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \
|    ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then
|   prefix="${MSYSTEM_PREFIX-/mingw64}" && \
|     $as_echo "$config_site_me:${as_lineno-$LINENO}: default prefix set to $prefix" >&5
| fi
config.site:13: default build_alias set to x86_64-w64-mingw32
configure:2236: checking for correct TEA configuration
configure:2249: result: ok (TEA 3.10)
configure:2332: configuring tkblt 3.2
configure:2405: checking for Tcl configuration
configure:2531: result: found /c/src/tcl8.6.8-x64/win/tclConfig.sh
configure:2584: checking for gcc
configure:2600: found /mingw64/bin/gcc
configure:2611: result: gcc
configure:2840: checking for C compiler version
configure:2849: gcc --version >&5
gcc.exe (Rev2, Built by MSYS2 project) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2860: $? = 0
configure:2849: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-7.3.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 7.3.0 (Rev2, Built by MSYS2 project) 
configure:2860: $? = 0
configure:2849: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:2860: $? = 1
configure:2849: gcc -qversion >&5
gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc.exe: fatal error: no input files
compilation terminated.
configure:2860: $? = 1
configure:2880: checking whether the C compiler works
configure:2902: gcc  -static  conftest.c  >&5
configure:2906: $? = 0
configure:2954: result: yes
configure:2957: checking for C compiler default output file name
configure:2959: result: a.exe
configure:2965: checking for suffix of executables
configure:2972: gcc -o conftest.exe  -static  conftest.c  >&5
configure:2976: $? = 0
configure:2998: result: .exe
configure:3020: checking whether we are cross compiling
configure:3028: gcc -o conftest.exe  -static  conftest.c  >&5
configure:3032: $? = 0
configure:3039: ./conftest.exe
configure:3043: $? = 0
configure:3058: result: no
configure:3063: checking for suffix of object files
configure:3085: gcc -c  -static conftest.c >&5
configure:3089: $? = 0
configure:3110: result: o
configure:3114: checking whether we are using the GNU C compiler
configure:3133: gcc -c  -static conftest.c >&5
configure:3133: $? = 0
configure:3142: result: yes
configure:3151: checking whether gcc accepts -g
configure:3171: gcc -c -g -static conftest.c >&5
configure:3171: $? = 0
configure:3212: result: yes
configure:3229: checking for gcc option to accept ISO C89
configure:3292: gcc  -c  -static conftest.c >&5
configure:3292: $? = 0
configure:3305: result: none needed
configure:3327: checking for existence of /c/src/tcl8.6.8-x64/win/tclConfig.sh
configure:3331: result: loading
configure:3395: checking platform
configure:3413: gcc -c  -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:15:4: error: #error win32
   #error win32
    ^~~~~
configure:3413: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| 	    #ifdef _WIN32
| 		#error win32
| 	    #endif
| 
|   ;
|   return 0;
| }
configure:3423: checking for cygpath
configure:3451: result: echo
configure:3463: result: windows
configure:3509: checking for Tk configuration
configure:3633: result: found /c/src/tk8.6.8-x64/win/tkConfig.sh
configure:3639: checking for existence of /c/src/tk8.6.8-x64/win/tkConfig.sh
configure:3643: result: loading
configure:3775: --exec-prefix defaulting to TCL_EXEC_PREFIX /c/bin/tcl8.6.8-x64
configure:3845: checking for gcc
configure:3872: result: gcc
configure:4101: checking for C compiler version
configure:4110: gcc --version >&5
gcc.exe (Rev2, Built by MSYS2 project) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4121: $? = 0
configure:4110: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-7.3.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 7.3.0 (Rev2, Built by MSYS2 project) 
configure:4121: $? = 0
configure:4110: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:4121: $? = 1
configure:4110: gcc -qversion >&5
gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc.exe: fatal error: no input files
compilation terminated.
configure:4121: $? = 1
configure:4125: checking whether we are using the GNU C compiler
configure:4153: result: yes
configure:4162: checking whether gcc accepts -g
configure:4223: result: yes
configure:4240: checking for gcc option to accept ISO C89
configure:4316: result: none needed
configure:4341: checking how to run the C preprocessor
configure:4372: gcc -E -static conftest.c
configure:4372: $? = 0
configure:4386: gcc -E -static conftest.c
conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4386: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4411: result: gcc -E
configure:4431: gcc -E -static conftest.c
configure:4431: $? = 0
configure:4445: gcc -E -static conftest.c
conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4445: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4492: checking whether make sets $(MAKE)
configure:4514: result: yes
configure:4571: checking for ranlib
configure:4587: found /mingw64/bin/ranlib
configure:4598: result: ranlib
configure:4629: checking for grep that handles long lines and -e
configure:4687: result: /usr/bin/grep
configure:4692: checking for egrep
configure:4754: result: /usr/bin/grep -E
configure:4759: checking for ANSI C header files
configure:4779: gcc -c  -static conftest.c >&5
configure:4779: $? = 0
configure:4852: gcc -o conftest.exe  -static  conftest.c  >&5
configure:4852: $? = 0
configure:4852: ./conftest.exe
configure:4852: $? = 0
configure:4863: result: yes
configure:4876: checking for sys/types.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for sys/stat.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for stdlib.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for string.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for memory.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for strings.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for inttypes.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for stdint.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4876: checking for unistd.h
configure:4876: gcc -c  -static conftest.c >&5
configure:4876: $? = 0
configure:4876: result: yes
configure:4898: checking if the compiler understands -pipe
configure:4916: gcc -c  -pipe -static conftest.c >&5
configure:4916: $? = 0
configure:4924: result: yes
configure:4935: checking whether byte ordering is bigendian
configure:4950: gcc -c  -pipe -static conftest.c >&5
conftest.c:21:9: error: unknown type name 'not'
         not a universal capable compiler
         ^~~
conftest.c:21:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^~~~~~~~~
conftest.c:21:15: error: unknown type name 'universal'
configure:4950: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:4995: gcc -c  -pipe -static conftest.c >&5
configure:4995: $? = 0
configure:5013: gcc -c  -pipe -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:27:4: error: unknown type name 'not'; did you mean 'ino_t'?
    not big endian
    ^~~
    ino_t
conftest.c:27:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^~~~~~
configure:5013: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:5141: result: no
configure:5843: checking for Tcl public headers
configure:5914: result: C:/src/tcl8.6.8-x64/generic
configure:5929: checking for Tcl private include files
configure:5981: result: Using srcdir found in tclConfig.sh: C:/src/tcl8.6.8-x64
configure:5986: checking for Tk public headers
configure:6060: result: /c/src/tk8.6.8-x64/generic
configure:6074: checking for X11 header files
configure:6081: result: /c/src/tk8.6.8-x64/xlib
configure:6088: checking for Tk private include files
configure:6164: result: Using srcdir found in tkConfig.sh: /c/src/tk8.6.8-x64
configure:6781: checking for building with threads
configure:6787: result: yes (default)
configure:6828: checking how to build libraries
configure:6862: result: shared
configure:6946: checking for ranlib
configure:6973: result: ranlib
configure:7000: checking if 64bit support is requested
configure:7009: result: yes
configure:7014: checking if 64bit Sparc VIS support is requested
configure:7023: result: no
configure:7033: checking if compiler supports visibility "hidden"
configure:7053: gcc -o conftest.exe  -pipe -Werror -static  conftest.c  >&5
conftest.c: In function 'f':
conftest.c:26:6: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
      void f(void) {}
      ^~~~
cc1.exe: all warnings being treated as errors
configure:7053: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| /* end confdefs.h.  */
| 
| 	    extern __attribute__((__visibility__("hidden"))) void f(void);
| 	    void f(void) {}
| int
| main ()
| {
| f();
|   ;
|   return 0;
| }
configure:7062: result: no
configure:7077: checking if rpath support is requested
configure:7086: result: yes
configure:7093: checking if Windows/CE build is requested
configure:7102: result: no
configure:7111: checking system version
configure:7134: result: windows
configure:7214: checking for ar
configure:7230: found /mingw64/bin/ar
configure:7241: result: ar
configure:7302: result:    Using 64-bit AMD64 mode
configure:7573: checking for windres
configure:7589: found /mingw64/bin/windres
configure:7600: result: windres
configure:7631: checking for cross-compile version of gcc
configure:7651: gcc -c  -pipe -static conftest.c >&5
conftest.c:26:6: error: #error cross-compiler
     #error cross-compiler
      ^~~~~
configure:7651: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| /* end confdefs.h.  */
| 
| 			    #ifdef _WIN32
| 				#error cross-compiler
| 			    #endif
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:7659: result: no
configure:8891: checking for SEH support in compiler
configure:8918: gcc -o conftest.exe  -pipe -static   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:32:3: error: '__try' undeclared (first use in this function); did you mean '__try1'?
   __try {
   ^~~~~
   __try1
conftest.c:32:3: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:32:9: error: expected ';' before '{' token
   __try {
         ^
configure:8918: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| /* end confdefs.h.  */
| 
| #define WIN32_LEAN_AND_MEAN
| #include <windows.h>
| #undef WIN32_LEAN_AND_MEAN
| 
| 	    int main(int argc, char** argv) {
| 		int a, b = 0;
| 		__try {
| 		    a = 666 / b;
| 		}
| 		__except (EXCEPTION_EXECUTE_HANDLER) {
| 		    return 0;
| 		}
| 		return 1;
| 	    }
| 
configure:8929: result: no
configure:8943: checking for EXCEPTION_DISPOSITION support in include files
configure:8965: gcc -c  -pipe -static conftest.c >&5
configure:8965: $? = 0
configure:8973: result: yes
configure:8985: checking for winnt.h that ignores VOID define
configure:9010: gcc -c  -pipe -static conftest.c >&5
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:334:11: error: unknown type name 'CHAR'
   typedef CHAR *PCHAR,*LPCH,*PCH;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:335:17: error: unknown type name 'CHAR'
   typedef CONST CHAR *LPCCH,*PCCH;
                 ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:336:11: error: unknown type name 'CHAR'
   typedef CHAR *NPSTR,*LPSTR,*PSTR;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:339:17: error: unknown type name 'CHAR'
   typedef CONST CHAR *LPCSTR,*PCSTR;
                 ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:341:11: error: unknown type name 'CHAR'
   typedef CHAR *PZZSTR;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:342:17: error: unknown type name 'CHAR'
   typedef CONST CHAR *PCZZSTR;
                 ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:343:11: error: unknown type name 'CHAR'
   typedef CHAR *PNZCH;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:344:17: error: unknown type name 'CHAR'
   typedef CONST CHAR *PCNZCH;
                 ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:392:11: error: unknown type name 'SHORT'
   typedef SHORT *PSHORT;
           ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:393:11: error: unknown type name 'LONG'
   typedef LONG *PLONG;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:419:11: error: unknown type name 'LONG'
   typedef LONG HRESULT;
           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:508:7: error: unknown type name 'LONG'
       LONG HighPart;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:512:7: error: unknown type name 'LONG'
       LONG HighPart;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:540:5: error: unknown type name 'LONG'
     LONG HighPart;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:3794:7: error: unknown type name 'CHAR'
       CHAR SourceName[TOKEN_SOURCE_LENGTH];
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5907:7: error: unknown type name 'LONG'
       LONG e_lfanew;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5912:7: error: unknown type name 'CHAR'
       CHAR ne_ver;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5913:7: error: unknown type name 'CHAR'
       CHAR ne_rev;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5916:7: error: unknown type name 'LONG'
       LONG ne_crc;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5921:7: error: unknown type name 'LONG'
       LONG ne_csip;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5922:7: error: unknown type name 'LONG'
       LONG ne_sssp;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:5931:7: error: unknown type name 'LONG'
       LONG ne_nrestab;
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:6357:7: error: unknown type name 'SHORT'
       SHORT SectionNumber;
       ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:6376:7: error: unknown type name 'LONG'
       LONG SectionNumber;
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:6510:2: error: unknown type name 'SHORT'
  SHORT Number;
  ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:6534:2: error: unknown type name 'SHORT'
  SHORT Number;
  ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:6537:2: error: unknown type name 'SHORT'
  SHORT HighNumber;
  ^~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7123:7: error: unknown type name 'CHAR'
       CHAR NameString[1];
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7734:7: error: unknown type name 'CHAR'
       CHAR szCSDVersion[128];
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7756:7: error: unknown type name 'CHAR'
       CHAR szCSDVersion[128];
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7891:7: error: unknown type name 'LONG'
       LONG LockCount;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7892:7: error: unknown type name 'LONG'
       LONG RecursionCount;
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:7908:25: error: expected declaration specifiers or '...' before '*' token
     typedef LONG (NTAPI *PVECTORED_EXCEPTION_HANDLER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                         ^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h: In function 'NtCurrentTeb':
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:8705:87: error: 'LONG' undeclared (first use in this function); did you mean 'FLONG'?
     FORCEINLINE struct _TEB *NtCurrentTeb(VOID) { return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB,Self)); }
                                                                                       ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:8705:87: note: each undeclared identifier is reported only once for each function it appears in
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:8705:87: error: expected ')' before '__builtin_offsetof'
     FORCEINLINE struct _TEB *NtCurrentTeb(VOID) { return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB,Self)); }
                                                                                       ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h: In function 'GetCurrentFiber':
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:8706:74: error: 'LONG' undeclared (first use in this function); did you mean 'FLONG'?
     FORCEINLINE PVOID GetCurrentFiber(VOID) { return(PVOID)__readgsqword(FIELD_OFFSET(NT_TIB,FiberData)); }
                                                                          ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:8706:74: error: expected ')' before '__builtin_offsetof'
     FORCEINLINE PVOID GetCurrentFiber(VOID) { return(PVOID)__readgsqword(FIELD_OFFSET(NT_TIB,FiberData)); }
                                                                          ^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h: At top level:
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:73:3: error: unknown type name 'LONG'
   LONG left;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:74:3: error: unknown type name 'LONG'
   LONG top;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:75:3: error: unknown type name 'LONG'
   LONG right;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:76:3: error: unknown type name 'LONG'
   LONG bottom;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:82:3: error: unknown type name 'LONG'
   LONG left;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:83:3: error: unknown type name 'LONG'
   LONG top;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:84:3: error: unknown type name 'LONG'
   LONG right;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:85:3: error: unknown type name 'LONG'
   LONG bottom;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:91:3: error: unknown type name 'LONG'
   LONG x;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:92:3: error: unknown type name 'LONG'
   LONG y;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:96:3: error: unknown type name 'LONG'
   LONG x;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:97:3: error: unknown type name 'LONG'
   LONG y;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:101:3: error: unknown type name 'LONG'
   LONG cx;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:102:3: error: unknown type name 'LONG'
   LONG cy;
   ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:109:3: error: unknown type name 'SHORT'
   SHORT x;
   ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:110:3: error: unknown type name 'SHORT'
   SHORT y;
   ^~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:13:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/minwinbase.h:70:5: error: unknown type name 'CHAR'
     CHAR cFileName[MAX_PATH];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/minwinbase.h:71:5: error: unknown type name 'CHAR'
     CHAR cAlternateFileName[14];
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:16:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/errhandlingapi.h:17:22: error: expected declaration specifiers or '...' before '*' token
 typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                      ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/errhandlingapi.h:18:9: error: unknown type name 'PTOP_LEVEL_EXCEPTION_FILTER'
 typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:16:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/errhandlingapi.h:21:16: error: unknown type name 'LONG'
     WINBASEAPI LONG WINAPI UnhandledExceptionFilter (struct _EXCEPTION_POINTERS *ExceptionInfo);
                ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/errhandlingapi.h:24:71: error: unknown type name 'PVECTORED_EXCEPTION_HANDLER'; did you mean 'PEXCEPTION_HANDLER'?
     WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                       PEXCEPTION_HANDLER
C:/msys64/mingw64/x86_64-w64-mingw32/include/errhandlingapi.h:26:68: error: unknown type name 'PVECTORED_EXCEPTION_HANDLER'; did you mean 'PEXCEPTION_HANDLER'?
   WINBASEAPI PVOID WINAPI AddVectoredContinueHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                    PEXCEPTION_HANDLER
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:18:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/fileapi.h:35:55: error: unknown type name 'LONG'; did you mean 'FLONG'?
 WINBASEAPI DWORD WINAPI SetFilePointer (HANDLE hFile, LONG lDistanceToMove, PLONG lpDistanceToMoveHigh, DWORD dwMoveMethod);
                                                       ^~~~
                                                       FLONG
C:/msys64/mingw64/x86_64-w64-mingw32/include/fileapi.h:52:14: error: unknown type name 'LONG'
   WINBASEAPI LONG WINAPI CompareFileTime (CONST FILETIME *lpFileTime1, CONST FILETIME *lpFileTime2);
              ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:35:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/synchapi.h:49:66: error: unknown type name 'LONG'; did you mean 'FLONG'?
   WINBASEAPI WINBOOL WINAPI ReleaseSemaphore (HANDLE hSemaphore, LONG lReleaseCount, LPLONG lpPreviousCount);
                                                                  ^~~~
                                                                  FLONG
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:35:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/synchapi.h:121:94: error: unknown type name 'LONG'; did you mean 'FLONG'?
   WINBASEAPI WINBOOL WINAPI SetWaitableTimer (HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, WINBOOL fResume);
                                                                                              ^~~~
                                                                                              FLONG
C:/msys64/mingw64/x86_64-w64-mingw32/include/synchapi.h:125:89: error: unknown type name 'LONG'; did you mean 'FLONG'?
   WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
                                                                                         ^~~~
                                                                                         FLONG
C:/msys64/mingw64/x86_64-w64-mingw32/include/synchapi.h:125:109: error: unknown type name 'LONG'; did you mean 'FLONG'?
   WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
                                                                                                             ^~~~
                                                                                                             FLONG
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:626:5: error: unknown type name 'CHAR'
     CHAR szPathName[OFS_MAXPATHNAME];
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:908:16: error: expected ',' or ';' before '_InterlockedAnd'
   LONG __cdecl InterlockedAnd(LONG volatile *Destination, LONG Value);
                ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:909:16: error: expected ',' or ';' before '_InterlockedOr'
   LONG __cdecl InterlockedOr(LONG volatile *Destination, LONG Value);
                ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:910:16: error: expected ',' or ';' before '_InterlockedXor'
   LONG __cdecl InterlockedXor(LONG volatile *Destination, LONG Value);
                ^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:931:17: error: expected ',' or ';' before '_InterlockedAnd16'
   SHORT __cdecl InterlockedAnd16(SHORT volatile *Destination, SHORT Value);
                 ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:932:17: error: expected ',' or ';' before '_InterlockedOr16'
   SHORT __cdecl InterlockedOr16(SHORT volatile *Destination, SHORT Value);
                 ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:933:17: error: expected ',' or ';' before '_InterlockedXor16'
   SHORT __cdecl InterlockedXor16(SHORT volatile *Destination, SHORT Value);
                 ^
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:1418:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_llseek'
   WINBASEAPI LONG WINAPI _llseek (HFILE hFile, LONG lOffset, int iOrigin);
                          ^~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:1498:91: error: expected declaration specifiers or '...' before 'LONG'
   WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR lpName);
                                                                                           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:1498:111: error: expected declaration specifiers or '...' before 'LONG'
   WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR lpName);
                                                                                                               ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:1504:91: error: expected declaration specifiers or '...' before 'LONG'
   WINBASEAPI HANDLE WINAPI CreateSemaphoreA (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName);
                                                                                           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:1504:111: error: expected declaration specifiers or '...' before 'LONG'
   WINBASEAPI HANDLE WINAPI CreateSemaphoreA (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName);
                                                                                                               ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:2357:5: error: unknown type name 'CHAR'
     CHAR szHwProfileGuid[HW_PROFILE_GUIDLEN];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:2358:5: error: unknown type name 'CHAR'
     CHAR szHwProfileName[MAX_PROFILE_LEN];
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:2381:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/timezoneapi.h:22:5: error: expected specifier-qualifier-list before 'LONG'
     LONG Bias;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/timezoneapi.h:32:5: error: expected specifier-qualifier-list before 'LONG'
     LONG Bias;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:397:5: error: expected specifier-qualifier-list before 'LONG'
     LONG lOrientation;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:460:5: error: expected specifier-qualifier-list before 'LONG'
     LONG bmType;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:499:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LCSCSTYPE'
   typedef LONG LCSCSTYPE;
                ^~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:502:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LCSGAMUTMATCH'
   typedef LONG LCSGAMUTMATCH;
                ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:554:5: error: unknown type name 'LCSCSTYPE'
     LCSCSTYPE lcsCSType;
     ^~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:555:5: error: unknown type name 'LCSGAMUTMATCH'
     LCSGAMUTMATCH lcsIntent;
     ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:560:5: error: unknown type name 'CHAR'
     CHAR lcsFilename[MAX_PATH];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:567:5: error: unknown type name 'LCSCSTYPE'
     LCSCSTYPE lcsCSType;
     ^~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:568:5: error: unknown type name 'LCSGAMUTMATCH'
     LCSGAMUTMATCH lcsIntent;
     ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:593:5: error: expected specifier-qualifier-list before 'LONG'
     LONG biWidth;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:609:5: error: expected specifier-qualifier-list before 'LONG'
     LONG bV4Width;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:632:5: error: expected specifier-qualifier-list before 'LONG'
     LONG bV5Width;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:742:5: error: expected specifier-qualifier-list before 'LONG'
     LONG mm;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:817:5: error: expected specifier-qualifier-list before 'LONG'
     LONG tmHeight;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:840:5: error: expected specifier-qualifier-list before 'LONG'
     LONG tmHeight;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:884:5: error: expected specifier-qualifier-list before 'LONG'
     LONG tmHeight;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:911:5: error: expected specifier-qualifier-list before 'LONG'
     LONG tmHeight;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:960:5: error: expected specifier-qualifier-list before 'LONG'
     LONG paXCount;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:1042:5: error: expected specifier-qualifier-list before 'LONG'
     LONG lfHeight;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:1059:5: error: expected specifier-qualifier-list before 'LONG'
     LONG lfHeight;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2023:5: error: unknown type name 'CHAR'
     CHAR DeviceName[32];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2024:5: error: unknown type name 'CHAR'
     CHAR DeviceString[128];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2026:5: error: unknown type name 'CHAR'
     CHAR DeviceID[128];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2027:5: error: unknown type name 'CHAR'
     CHAR DeviceKey[128];
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2832:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetBitmapBits'
   WINGDIAPI LONG WINAPI GetBitmapBits(HBITMAP hbit,LONG cb,LPVOID lpvBits);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2940:5: error: expected specifier-qualifier-list before 'LONG'
     LONG dvValues[MM_MAX_NUMAXES];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2959:5: error: expected specifier-qualifier-list before 'LONG'
     LONG axMinValue;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:2965:5: error: expected specifier-qualifier-list before 'LONG'
     LONG axMinValue;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3068:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SetBitmapBits'
   WINGDIAPI LONG WINAPI SetBitmapBits(HBITMAP hbm,DWORD cb,CONST VOID *pvBits);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3127:5: error: expected specifier-qualifier-list before 'LONG'
     LONG x;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3274:5: error: expected specifier-qualifier-list before 'SHORT'
     SHORT caContrast;
     ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3593:5: error: expected specifier-qualifier-list before 'LONG'
     LONG iRelative;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3686:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xNum;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3836:5: error: expected specifier-qualifier-list before 'LONG'
     LONG cStrings;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3843:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3862:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3883:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3910:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xSrc;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3933:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:3951:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:4115:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:4145:5: error: expected specifier-qualifier-list before 'LONG'
     LONG xDest;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:1777:5: error: expected specifier-qualifier-list before 'LONG'
     LONG style;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:1792:5: error: expected specifier-qualifier-list before 'LONG'
     LONG style;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:1976:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetMessageTime'
   WINUSERAPI LONG WINAPI GetMessageTime(VOID);
                          ^~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2471:42: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   WINUSERAPI WINBOOL WINAPI IsCharAlphaA(CHAR ch);
                                          ^~~~
                                          BCHAR
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2473:49: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   WINUSERAPI WINBOOL WINAPI IsCharAlphaNumericA(CHAR ch);
                                                 ^~~~
                                                 BCHAR
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2475:42: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   WINUSERAPI WINBOOL WINAPI IsCharUpperA(CHAR ch);
                                          ^~~~
                                          BCHAR
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2477:42: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   WINUSERAPI WINBOOL WINAPI IsCharLowerA(CHAR ch);
                                          ^~~~
                                          BCHAR
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2491:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetKeyState'
   WINUSERAPI SHORT WINAPI GetKeyState(int nVirtKey);
                           ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2492:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetAsyncKeyState'
   WINUSERAPI SHORT WINAPI GetAsyncKeyState(int vKey);
                           ^~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2495:41: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI int WINAPI GetKeyNameTextA(LONG lParam,LPSTR lpString,int cchSize);
                                         ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2496:41: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI int WINAPI GetKeyNameTextW(LONG lParam,LPWSTR lpString,int cchSize);
                                         ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2502:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VkKeyScanA'
   WINUSERAPI SHORT WINAPI VkKeyScanA(CHAR ch);
                           ^~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2503:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VkKeyScanW'
   WINUSERAPI SHORT WINAPI VkKeyScanW(WCHAR ch);
                           ^~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2504:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VkKeyScanExA'
   WINUSERAPI SHORT WINAPI VkKeyScanExA(CHAR ch,HKL dwhkl);
                           ^~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2505:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'VkKeyScanExW'
   WINUSERAPI SHORT WINAPI VkKeyScanExW(WCHAR ch,HKL dwhkl);
                           ^~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2647:5: error: expected specifier-qualifier-list before 'LONG'
     LONG dx;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3149:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetMenuCheckMarkDimensions'
   WINUSERAPI LONG WINAPI GetMenuCheckMarkDimensions(VOID);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3352:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TabbedTextOutA'
   WINUSERAPI LONG WINAPI TabbedTextOutA(HDC hdc,int x,int y,LPCSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions,int nTabOrigin);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3353:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TabbedTextOutW'
   WINUSERAPI LONG WINAPI TabbedTextOutW(HDC hdc,int x,int y,LPCWSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions,int nTabOrigin);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3734:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetWindowLongA'
   WINUSERAPI LONG WINAPI GetWindowLongA(HWND hWnd,int nIndex);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3735:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetWindowLongW'
   WINUSERAPI LONG WINAPI GetWindowLongW(HWND hWnd,int nIndex);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3736:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SetWindowLongA'
   WINUSERAPI LONG WINAPI SetWindowLongA(HWND hWnd,int nIndex,LONG dwNewLong);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3737:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SetWindowLongW'
   WINUSERAPI LONG WINAPI SetWindowLongW(HWND hWnd,int nIndex,LONG dwNewLong);
                          ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3761:62: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI DWORD WINAPI SetClassLongA(HWND hWnd,int nIndex,LONG dwNewLong);
                                                              ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:3762:62: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI DWORD WINAPI SetClassLongW(HWND hWnd,int nIndex,LONG dwNewLong);
                                                              ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:4788:5: error: unknown type name 'CHAR'
     CHAR mkKeylist;
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:4789:5: error: unknown type name 'CHAR'
     CHAR szKeyphrase[1];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:4809:5: error: unknown type name 'CHAR'
     CHAR rgchMember[2];
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5371:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChangeDisplaySettingsA'
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA lpDevMode,DWORD dwFlags);
                          ^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5372:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChangeDisplaySettingsW'
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW lpDevMode,DWORD dwFlags);
                          ^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5373:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChangeDisplaySettingsExA'
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsExA(LPCSTR lpszDeviceName,LPDEVMODEA lpDevMode,HWND hwnd,DWORD dwflags,LPVOID lParam);
                          ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5374:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChangeDisplaySettingsExW'
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR lpszDeviceName,LPDEVMODEW lpDevMode,HWND hwnd,DWORD dwflags,LPVOID lParam);
                          ^~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5594:5: error: unknown type name 'CHAR'
     CHAR szDevice[CCHDEVICENAME];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5653:91: error: expected declaration specifiers or '...' before 'LONG'
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                           ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5653:105: error: expected declaration specifiers or '...' before 'LONG'
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                                         ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5655:63: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                                               ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5655:77: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                                                             ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5656:106: error: unknown type name 'WINEVENTPROC'; did you mean 'HWINEVENTHOOK'?
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                          ^~~~~~~~~~~~
                                                                                                          HWINEVENTHOOK
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5965:54: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI WINBOOL WINAPI GetMenuBarInfo(HWND hwnd,LONG idObject,LONG idItem,PMENUBARINFO pmbi);
                                                      ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5965:68: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI WINBOOL WINAPI GetMenuBarInfo(HWND hwnd,LONG idObject,LONG idItem,PMENUBARINFO pmbi);
                                                                    ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:5977:56: error: expected declaration specifiers or '...' before 'LONG'
   WINUSERAPI WINBOOL WINAPI GetScrollBarInfo(HWND hwnd,LONG idObject,PSCROLLBARINFO psbi);
                                                        ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:6060:5: error: expected specifier-qualifier-list before 'LONG'
     LONG lLastX;
     ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:660:5: error: unknown type name 'CHAR'
     CHAR CodePageName[MAX_PATH];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:750:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GEOID'
   typedef LONG GEOID;
                ^~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:981:38: error: unknown type name 'GEOID'; did you mean 'GUID'?
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                      ^~~~~
                                      GUID
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:982:38: error: unknown type name 'GEOID'; did you mean 'GUID'?
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                      ^~~~~
                                      GUID
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:983:65: error: unknown type name 'GEOID'; did you mean 'GUID'?
   WINBASEAPI WINBOOL WINAPI EnumSystemGeoID (GEOCLASS GeoClass, GEOID ParentGeoId, GEO_ENUMPROC lpGeoEnumProc);
                                                                 ^~~~~
                                                                 GUID
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:984:14: error: unknown type name 'GEOID'
   WINBASEAPI GEOID WINAPI GetUserGeoID (GEOCLASS GeoClass);
              ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winnls.h:1000:43: error: unknown type name 'GEOID'; did you mean 'GUID'?
   WINBASEAPI WINBOOL WINAPI SetUserGeoID (GEOID GeoId);
                                           ^~~~~
                                           GUID
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:74:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wincon.h:18:5: error: expected specifier-qualifier-list before 'SHORT'
     SHORT X;
     ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wincon.h:23:5: error: expected specifier-qualifier-list before 'SHORT'
     SHORT Left;
     ^~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wincon.h:36:7: error: unknown type name 'CHAR'
       CHAR AsciiChar;
       ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/wincon.h:110:7: error: unknown type name 'CHAR'
       CHAR AsciiChar;
       ^~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:74:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wincon.h:223:79: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputCharacterA(HANDLE hConsoleOutput,CHAR cCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                               ^~~~
                                                                               BCHAR
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:35:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LSTATUS'
   typedef LONG LSTATUS;
                ^~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:140:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegCloseKey'
   WINADVAPI LONG WINAPI RegCloseKey(HKEY hKey);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:141:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOverridePredefKey'
   WINADVAPI LONG WINAPI RegOverridePredefKey(HKEY hKey,HKEY hNewHKey);
                         ^~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:142:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenUserClassesRoot'
   WINADVAPI LONG WINAPI RegOpenUserClassesRoot(HANDLE hToken,DWORD dwOptions,REGSAM samDesired,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:143:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenCurrentUser'
   WINADVAPI LONG WINAPI RegOpenCurrentUser(REGSAM samDesired,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:144:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDisablePredefinedCache'
   WINADVAPI LONG WINAPI RegDisablePredefinedCache(void);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:145:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegConnectRegistryA'
   WINADVAPI LONG WINAPI RegConnectRegistryA(LPCSTR lpMachineName,HKEY hKey,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:146:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegConnectRegistryW'
   WINADVAPI LONG WINAPI RegConnectRegistryW(LPCWSTR lpMachineName,HKEY hKey,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:147:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegConnectRegistryExA'
   WINADVAPI LONG WINAPI RegConnectRegistryExA(LPCSTR lpMachineName,HKEY hKey,ULONG Flags,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:148:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegConnectRegistryExW'
   WINADVAPI LONG WINAPI RegConnectRegistryExW(LPCWSTR lpMachineName,HKEY hKey,ULONG Flags,PHKEY phkResult);
                         ^~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:149:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegCreateKeyA'
   WINADVAPI LONG WINAPI RegCreateKeyA(HKEY hKey,LPCSTR lpSubKey,PHKEY phkResult);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:150:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegCreateKeyW'
   WINADVAPI LONG WINAPI RegCreateKeyW(HKEY hKey,LPCWSTR lpSubKey,PHKEY phkResult);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:151:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegCreateKeyExA'
   WINADVAPI LONG WINAPI RegCreateKeyExA(HKEY hKey,LPCSTR lpSubKey,DWORD Reserved,LPSTR lpClass,DWORD dwOptions,REGSAM samDesired,LPSECURITY_ATTRIBUTES lpSecurityAttributes,PHKEY phkResult,LPDWORD lpdwDisposition);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:152:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegCreateKeyExW'
   WINADVAPI LONG WINAPI RegCreateKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD Reserved,LPWSTR lpClass,DWORD dwOptions,REGSAM samDesired,LPSECURITY_ATTRIBUTES lpSecurityAttributes,PHKEY phkResult,LPDWORD lpdwDisposition);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:153:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteKeyA'
   WINADVAPI LONG WINAPI RegDeleteKeyA(HKEY hKey,LPCSTR lpSubKey);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:154:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteKeyW'
   WINADVAPI LONG WINAPI RegDeleteKeyW(HKEY hKey,LPCWSTR lpSubKey);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:155:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteKeyExA'
   WINADVAPI LONG WINAPI RegDeleteKeyExA(HKEY hKey,LPCSTR lpSubKey,REGSAM samDesired,DWORD Reserved);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:156:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteKeyExW'
   WINADVAPI LONG WINAPI RegDeleteKeyExW(HKEY hKey,LPCWSTR lpSubKey,REGSAM samDesired,DWORD Reserved);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:157:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDisableReflectionKey'
   WINADVAPI LONG WINAPI RegDisableReflectionKey(HKEY hBase);
                         ^~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:158:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnableReflectionKey'
   WINADVAPI LONG WINAPI RegEnableReflectionKey(HKEY hBase);
                         ^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:159:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryReflectionKey'
   WINADVAPI LONG WINAPI RegQueryReflectionKey(HKEY hBase,WINBOOL *bIsReflectionDisabled);
                         ^~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:160:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteValueA'
   WINADVAPI LONG WINAPI RegDeleteValueA(HKEY hKey,LPCSTR lpValueName);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:161:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegDeleteValueW'
   WINADVAPI LONG WINAPI RegDeleteValueW(HKEY hKey,LPCWSTR lpValueName);
                         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:162:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumKeyA'
   WINADVAPI LONG WINAPI RegEnumKeyA(HKEY hKey,DWORD dwIndex,LPSTR lpName,DWORD cchName);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:163:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumKeyW'
   WINADVAPI LONG WINAPI RegEnumKeyW(HKEY hKey,DWORD dwIndex,LPWSTR lpName,DWORD cchName);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:164:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumKeyExA'
   WINADVAPI LONG WINAPI RegEnumKeyExA(HKEY hKey,DWORD dwIndex,LPSTR lpName,LPDWORD lpcchName,LPDWORD lpReserved,LPSTR lpClass,LPDWORD lpcchClass,PFILETIME lpftLastWriteTime);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:165:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumKeyExW'
   WINADVAPI LONG WINAPI RegEnumKeyExW(HKEY hKey,DWORD dwIndex,LPWSTR lpName,LPDWORD lpcchName,LPDWORD lpReserved,LPWSTR lpClass,LPDWORD lpcchClass,PFILETIME lpftLastWriteTime);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:166:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumValueA'
   WINADVAPI LONG WINAPI RegEnumValueA(HKEY hKey,DWORD dwIndex,LPSTR lpValueName,LPDWORD lpcchValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:167:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegEnumValueW'
   WINADVAPI LONG WINAPI RegEnumValueW(HKEY hKey,DWORD dwIndex,LPWSTR lpValueName,LPDWORD lpcchValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:168:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegFlushKey'
   WINADVAPI LONG WINAPI RegFlushKey(HKEY hKey);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:169:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegGetKeySecurity'
   WINADVAPI LONG WINAPI RegGetKeySecurity(HKEY hKey,SECURITY_INFORMATION SecurityInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor,LPDWORD lpcbSecurityDescriptor);
                         ^~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:170:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegLoadKeyA'
   WINADVAPI LONG WINAPI RegLoadKeyA(HKEY hKey,LPCSTR lpSubKey,LPCSTR lpFile);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:171:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegLoadKeyW'
   WINADVAPI LONG WINAPI RegLoadKeyW(HKEY hKey,LPCWSTR lpSubKey,LPCWSTR lpFile);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:172:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegNotifyChangeKeyValue'
   WINADVAPI LONG WINAPI RegNotifyChangeKeyValue(HKEY hKey,WINBOOL bWatchSubtree,DWORD dwNotifyFilter,HANDLE hEvent,WINBOOL fAsynchronous);
                         ^~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:173:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenKeyA'
   WINADVAPI LONG WINAPI RegOpenKeyA(HKEY hKey,LPCSTR lpSubKey,PHKEY phkResult);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:174:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenKeyW'
   WINADVAPI LONG WINAPI RegOpenKeyW(HKEY hKey,LPCWSTR lpSubKey,PHKEY phkResult);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:175:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenKeyExA'
   WINADVAPI LONG WINAPI RegOpenKeyExA(HKEY hKey,LPCSTR lpSubKey,DWORD ulOptions,REGSAM samDesired,PHKEY phkResult);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:176:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegOpenKeyExW'
   WINADVAPI LONG WINAPI RegOpenKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD ulOptions,REGSAM samDesired,PHKEY phkResult);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:177:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryInfoKeyA'
   WINADVAPI LONG WINAPI RegQueryInfoKeyA(HKEY hKey,LPSTR lpClass,LPDWORD lpcchClass,LPDWORD lpReserved,LPDWORD lpcSubKeys,LPDWORD lpcbMaxSubKeyLen,LPDWORD lpcbMaxClassLen,LPDWORD lpcValues,LPDWORD lpcbMaxValueNameLen,LPDWORD lpcbMaxValueLen,LPDWORD lpcbSecurityDescriptor,PFILETIME lpftLastWriteTime);
                         ^~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:178:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryInfoKeyW'
   WINADVAPI LONG WINAPI RegQueryInfoKeyW(HKEY hKey,LPWSTR lpClass,LPDWORD lpcchClass,LPDWORD lpReserved,LPDWORD lpcSubKeys,LPDWORD lpcbMaxSubKeyLen,LPDWORD lpcbMaxClassLen,LPDWORD lpcValues,LPDWORD lpcbMaxValueNameLen,LPDWORD lpcbMaxValueLen,LPDWORD lpcbSecurityDescriptor,PFILETIME lpftLastWriteTime);
                         ^~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:179:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryValueA'
   WINADVAPI LONG WINAPI RegQueryValueA(HKEY hKey,LPCSTR lpSubKey,LPSTR lpData,PLONG lpcbData);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:180:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryValueW'
   WINADVAPI LONG WINAPI RegQueryValueW(HKEY hKey,LPCWSTR lpSubKey,LPWSTR lpData,PLONG lpcbData);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:181:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryMultipleValuesA'
   WINADVAPI LONG WINAPI RegQueryMultipleValuesA(HKEY hKey,PVALENTA val_list,DWORD num_vals,LPSTR lpValueBuf,LPDWORD ldwTotsize);
                         ^~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:182:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryMultipleValuesW'
   WINADVAPI LONG WINAPI RegQueryMultipleValuesW(HKEY hKey,PVALENTW val_list,DWORD num_vals,LPWSTR lpValueBuf,LPDWORD ldwTotsize);
                         ^~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:183:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryValueExA'
   WINADVAPI LONG WINAPI RegQueryValueExA(HKEY hKey,LPCSTR lpValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
                         ^~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:184:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegQueryValueExW'
   WINADVAPI LONG WINAPI RegQueryValueExW(HKEY hKey,LPCWSTR lpValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
                         ^~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:185:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegReplaceKeyA'
   WINADVAPI LONG WINAPI RegReplaceKeyA(HKEY hKey,LPCSTR lpSubKey,LPCSTR lpNewFile,LPCSTR lpOldFile);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:186:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegReplaceKeyW'
   WINADVAPI LONG WINAPI RegReplaceKeyW(HKEY hKey,LPCWSTR lpSubKey,LPCWSTR lpNewFile,LPCWSTR lpOldFile);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:187:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegRestoreKeyA'
   WINADVAPI LONG WINAPI RegRestoreKeyA(HKEY hKey,LPCSTR lpFile,DWORD dwFlags);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:188:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegRestoreKeyW'
   WINADVAPI LONG WINAPI RegRestoreKeyW(HKEY hKey,LPCWSTR lpFile,DWORD dwFlags);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:189:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSaveKeyA'
   WINADVAPI LONG WINAPI RegSaveKeyA(HKEY hKey,LPCSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:190:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSaveKeyW'
   WINADVAPI LONG WINAPI RegSaveKeyW(HKEY hKey,LPCWSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                         ^~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:191:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSetKeySecurity'
   WINADVAPI LONG WINAPI RegSetKeySecurity(HKEY hKey,SECURITY_INFORMATION SecurityInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor);
                         ^~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:192:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSetValueA'
   WINADVAPI LONG WINAPI RegSetValueA(HKEY hKey,LPCSTR lpSubKey,DWORD dwType,LPCSTR lpData,DWORD cbData);
                         ^~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:193:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSetValueW'
   WINADVAPI LONG WINAPI RegSetValueW(HKEY hKey,LPCWSTR lpSubKey,DWORD dwType,LPCWSTR lpData,DWORD cbData);
                         ^~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:194:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSetValueExA'
   WINADVAPI LONG WINAPI RegSetValueExA(HKEY hKey,LPCSTR lpValueName,DWORD Reserved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:195:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSetValueExW'
   WINADVAPI LONG WINAPI RegSetValueExW(HKEY hKey,LPCWSTR lpValueName,DWORD Reserved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
                         ^~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:196:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegUnLoadKeyA'
   WINADVAPI LONG WINAPI RegUnLoadKeyA(HKEY hKey,LPCSTR lpSubKey);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:197:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegUnLoadKeyW'
   WINADVAPI LONG WINAPI RegUnLoadKeyW(HKEY hKey,LPCWSTR lpSubKey);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:198:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegGetValueA'
   WINADVAPI LONG WINAPI RegGetValueA(HKEY hkey,LPCSTR lpSubKey,LPCSTR lpValue,DWORD dwFlags,LPDWORD pdwType,PVOID pvData,LPDWORD pcbData);
                         ^~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:199:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegGetValueW'
   WINADVAPI LONG WINAPI RegGetValueW(HKEY hkey,LPCWSTR lpSubKey,LPCWSTR lpValue,DWORD dwFlags,LPDWORD pdwType,PVOID pvData,LPDWORD pcbData);
                         ^~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:224:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSaveKeyExA'
   WINADVAPI LONG WINAPI RegSaveKeyExA(HKEY hKey,LPCSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes,DWORD Flags);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:225:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RegSaveKeyExW'
   WINADVAPI LONG WINAPI RegSaveKeyExW(HKEY hKey,LPCWSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes,DWORD Flags);
                         ^~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/winreg.h:226:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wow64Win32ApiEntry'
   WINADVAPI LONG WINAPI Wow64Win32ApiEntry (DWORD dwFuncNumber,DWORD dwFlag,DWORD dwRes);
                         ^~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:130:0,
                 from conftest.c:29:
C:/msys64/mingw64/x86_64-w64-mingw32/include/imm.h:80:5: error: unknown type name 'CHAR'
     CHAR szDescription[STYLE_DESCRIPTION_SIZE];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/imm.h:103:5: error: unknown type name 'CHAR'
     CHAR szString[IMEMENUITEM_STRING_SIZE];
     ^~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/imm.h:159:3: error: unknown type name 'LONG'; did you mean 'FLONG'?
   LONG WINAPI ImmGetCompositionStringA(HIMC,DWORD,LPVOID,DWORD);
   ^~~~
   FLONG
C:/msys64/mingw64/x86_64-w64-mingw32/include/imm.h:160:3: error: unknown type name 'LONG'; did you mean 'FLONG'?
   LONG WINAPI ImmGetCompositionStringW(HIMC,DWORD,LPVOID,DWORD);
   ^~~~
   FLONG
conftest.c: In function 'main':
conftest.c:36:3: error: unknown type name 'CHAR'; did you mean 'BCHAR'?
   CHAR c;
   ^~~~
   BCHAR
conftest.c:37:9: error: expected ';' before 's'
   SHORT s;
         ^
conftest.c:38:8: error: expected ';' before 'l'
   LONG l;
        ^
configure:9010: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| /* end confdefs.h.  */
| 
| #define VOID void
| #define WIN32_LEAN_AND_MEAN
| #include <windows.h>
| #undef WIN32_LEAN_AND_MEAN
| 
| int
| main ()
| {
| 
| 		CHAR c;
| 		SHORT s;
| 		LONG l;
| 
|   ;
|   return 0;
| }
configure:9018: result: no
configure:9031: checking for cast to union support
configure:9050: gcc -c  -pipe -static conftest.c >&5
configure:9050: $? = 0
configure:9058: result: yes
configure:9082: checking for required early compiler flags
configure:9100: gcc -c  -pipe -static conftest.c >&5
configure:9100: $? = 0
configure:9147: gcc -c  -pipe -static conftest.c >&5
configure:9147: $? = 0
configure:9194: gcc -c  -pipe -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:31:19: error: 'open64' undeclared (first use in this function); did you mean 'open'?
 char *p = (char *)open64;
                   ^~~~~~
                   open
conftest.c:31:19: note: each undeclared identifier is reported only once for each function it appears in
configure:9194: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| #define HAVE_CAST_TO_UNION 1
| /* end confdefs.h.  */
| #include <sys/stat.h>
| int
| main ()
| {
| char *p = (char *)open64;
|   ;
|   return 0;
| }
configure:9209: gcc -c  -pipe -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:32:19: error: 'open64' undeclared (first use in this function); did you mean 'open'?
 char *p = (char *)open64;
                   ^~~~~~
                   open
conftest.c:32:19: note: each undeclared identifier is reported only once for each function it appears in
configure:9209: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| #define HAVE_CAST_TO_UNION 1
| /* end confdefs.h.  */
| #define _LARGEFILE_SOURCE64 1
| #include <sys/stat.h>
| int
| main ()
| {
| char *p = (char *)open64;
|   ;
|   return 0;
| }
configure:9227: result: none
configure:9235: checking for 64-bit integer type
configure:9254: gcc -c  -pipe -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:31:1: error: unknown type name '__int64'; did you mean '__int128'?
 __int64 value = (__int64) 0;
 ^~~~~~~
 __int128
conftest.c:31:18: error: '__int64' undeclared (first use in this function); did you mean '__int128'?
 __int64 value = (__int64) 0;
                  ^~~~~~~
                  __int128
conftest.c:31:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:31:27: error: expected ',' or ';' before numeric constant
 __int64 value = (__int64) 0;
                           ^
configure:9254: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| #define HAVE_CAST_TO_UNION 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| __int64 value = (__int64) 0;
|   ;
|   return 0;
| }
configure:9276: gcc -c  -pipe -static conftest.c >&5
configure:9276: $? = 0
configure:9300: result: long long
configure:9304: checking for struct dirent64
configure:9322: gcc -c  -pipe -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:33:17: error: storage size of 'p' isn't known
 struct dirent64 p;
                 ^
configure:9322: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| #define HAVE_CAST_TO_UNION 1
| #define TCL_WIDE_INT_TYPE long long
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <dirent.h>
| int
| main ()
| {
| struct dirent64 p;
|   ;
|   return 0;
| }
configure:9329: result: no
configure:9337: checking for struct stat64
configure:9355: gcc -c  -pipe -static conftest.c >&5
configure:9355: $? = 0
configure:9362: result: yes
configure:9373: checking for open64
configure:9373: gcc -o conftest.exe  -pipe -static   conftest.c  >&5
C:\msys64\tmp\ccTXT0bu.o:conftest.c:(.text+0xe): undefined reference to `open64'
collect2.exe: error: ld returned 1 exit status
configure:9373: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tkblt"
| #define PACKAGE_TARNAME "tkblt"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tkblt 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define BUILD_tkblt /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TCL_THREADS 1
| #define USE_TCL_STUBS 1
| #define USE_TCLOO_STUBS 1
| #define USE_TK_STUBS 1
| #define MODULE_SCOPE extern
| #define HAVE_NO_SEH 1
| #define HAVE_CAST_TO_UNION 1
| #define TCL_WIDE_INT_TYPE long long
| #define HAVE_STRUCT_STAT64 1
| /* end confdefs.h.  */
| /* Define open64 to an innocuous variant, in case <limits.h> declares open64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define open64 innocuous_open64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char open64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef open64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char open64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_open64 || defined __stub___open64
| choke me
| #endif
| 
| int
| main ()
| {
| return open64 ();
|   ;
|   return 0;
| }
configure:9373: result: no
configure:9373: checking for lseek64
configure:9373: gcc -o conftest.exe  -pipe -static   conftest.c  >&5
configure:9373: $? = 0
configure:9373: result: yes
configure:9382: checking for off64_t
configure:9400: gcc -c  -pipe -static conftest.c >&5
configure:9400: $? = 0
configure:9417: result: no
configure:9430: checking for build with symbols
configure:9443: result: no
configure:9620: checking for tclsh
configure:9680: result: /c/src/tcl8.6.8-x64/win/tclsh86.exe
configure:9685: checking for wish
configure:9720: result: /c/src/tk8.6.8-x64/win/wish86.exe
configure:9922: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by tkblt config.status 3.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on yusuke-t440p

config.status:839: creating Makefile
config.status:839: creating pkgIndex.tcl
config.status:839: creating tkbltConfig.sh

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_tclconfig=/c/src/tcl8.6.8-x64/win
ac_cv_c_tclh=C:/src/tcl8.6.8-x64/generic
ac_cv_c_tkconfig=/c/src/tk8.6.8-x64/win
ac_cv_c_tkh=/c/src/tk8.6.8-x64/generic
ac_cv_cross=no
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-static
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func_lseek64=yes
ac_cv_func_open64=no
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CYGPATH=echo
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_RC=windres
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
tcl_cv_cast_to_union=yes
tcl_cv_cc_pipe=yes
tcl_cv_cc_visibility_hidden=no
tcl_cv_eh_disposition=yes
tcl_cv_flag__isoc99_source=no
tcl_cv_flag__largefile64_source=no
tcl_cv_flag__largefile_source64=no
tcl_cv_seh=no
tcl_cv_struct_dirent64=no
tcl_cv_struct_stat64=yes
tcl_cv_sys_version=windows
tcl_cv_type_64bit='long long'
tcl_cv_type_off64_t=yes
tcl_cv_winnt_ignore_void=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
CC='gcc'
CELIB_DIR=''
CFLAGS=' -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} -static'
CFLAGS_DEBUG='-g'
CFLAGS_DEFAULT='-O2 -fomit-frame-pointer -DNDEBUG'
CFLAGS_OPTIMIZE='-O2 -fomit-frame-pointer'
CFLAGS_WARNING='-Wall'
CLEANFILES=' *.lib *.dll *.pdb *.exp'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH='echo'
DEFS='-DPACKAGE_NAME=\"tkblt\" -DPACKAGE_TARNAME=\"tkblt\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"tkblt\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkblt=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DUSE_TK_STUBS=1 -DMODULE_SCOPE=extern -DHAVE_NO_SEH=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_LSEEK64=1'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT='.exe'
GREP='/usr/bin/grep'
INSTALL='$(SHELL) $(srcdir)/tclconfig/install-sh -c'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_DATA_DIR='${INSTALL} -d -m 755'
INSTALL_LIBRARY='${INSTALL_DATA}'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=' '
LDFLAGS_DEFAULT=''
LD_LIBRARY_PATH_VAR='LD_LIBRARY_PATH'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAJOR_VERSION=''
MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} '
MAKE_SHARED_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}'
MAKE_STATIC_LIB='${STLIB_LD} $@ $(PKG_OBJECTS)'
MAKE_STUB_LIB='${STLIB_LD} $@ $(PKG_STUB_OBJECTS)'
MATH_LIBS=''
MINOR_VERSION=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tkblt'
PACKAGE_STRING='tkblt 3.2'
PACKAGE_TARNAME='tkblt'
PACKAGE_URL=''
PACKAGE_VERSION='3.2'
PATCHLEVEL=''
PATH_SEPARATOR=':'
PKG_CFLAGS=''
PKG_HEADERS=' generic/tkbltVector.h generic/tkbltDecls.h'
PKG_INCLUDES=''
PKG_LIBS=' -lstdc++'
PKG_LIB_FILE='tkblt32.dll'
PKG_OBJECTS=' tkbltChain.o tkbltConfig.o tkbltGrAxis.o tkbltGrAxisOp.o tkbltGrAxisOption.o tkbltGrBind.o tkbltGrElemOp.o tkbltGrElemOption.o tkbltGrElem.o tkbltGrElemBar.o tkbltGrElemLine.o tkbltGrElemLineSpline.o tkbltGrHairs.o tkbltGrHairsOp.o tkbltGrLegd.o tkbltGrLegdOp.o tkbltGrMarkerOp.o tkbltGrMarkerOption.o tkbltGrMarker.o tkbltGrMarkerLine.o tkbltGrMarkerPolygon.o tkbltGrMarkerText.o tkbltGrMisc.o tkbltGrPenOp.o tkbltGrPenOption.o tkbltGrPen.o tkbltGrPenBar.o tkbltGrPenLine.o tkbltGrPostscript.o tkbltGrPostscriptOp.o tkbltGrPSOutput.o tkbltGrText.o tkbltGrXAxisOp.o tkbltGraph.o tkbltGraphBar.o tkbltGraphLine.o tkbltGraphOp.o tkbltGraphSup.o tkbltInt.o tkbltNsUtil.o tkbltParse.o tkbltOp.o tkbltStubInit.o tkbltStubLib.o tkbltSwitch.o tkbltVecCmd.o tkbltVecOp.o tkbltVecMath.o tkbltVector.o'
PKG_SOURCES=' tkbltChain.C tkbltConfig.C tkbltGrAxis.C tkbltGrAxisOp.C tkbltGrAxisOption.C tkbltGrBind.C tkbltGrElemOp.C tkbltGrElemOption.C tkbltGrElem.C tkbltGrElemBar.C tkbltGrElemLine.C tkbltGrElemLineSpline.C tkbltGrHairs.C tkbltGrHairsOp.C tkbltGrLegd.C tkbltGrLegdOp.C tkbltGrMarkerOp.C tkbltGrMarkerOption.C tkbltGrMarker.C tkbltGrMarkerLine.C tkbltGrMarkerPolygon.C tkbltGrMarkerText.C tkbltGrMisc.C tkbltGrPenOp.C tkbltGrPenOption.C tkbltGrPen.C tkbltGrPenBar.C tkbltGrPenLine.C tkbltGrPostscript.C tkbltGrPostscriptOp.C tkbltGrPSOutput.C tkbltGrText.C tkbltGrXAxisOp.C tkbltGraph.C tkbltGraphBar.C tkbltGraphLine.C tkbltGraphOp.C tkbltGraphSup.C tkbltInt.C tkbltNsUtil.C tkbltParse.C tkbltOp.C tkbltStubInit.c tkbltStubLib.C tkbltSwitch.C tkbltVecCmd.C tkbltVecOp.C tkbltVecMath.C tkbltVector.C'
PKG_STUB_LIB_FILE='libtkbltstub32.a'
PKG_STUB_OBJECTS=' tkbltStubLib.o'
PKG_STUB_SOURCES=' tkbltStubLib.C'
PKG_TCL_SOURCES=' library/graph.tcl'
PRACTCL_CFLAGS=' -pipe'
PRACTCL_NAME_LIBRARY='%LIBRARY_PREFIX%%LIBRARY_NAME%%LIBRARY_VERSION_NODOTS%'
PRACTCL_SHARED_LIB='%SHLIB_LD% -o %OUTFILE% %LIBRARY_OBJECTS% %SHLIB_LD_LIBS%'
PRACTCL_STATIC_LIB='%STLIB_LD% %OUTFILE% %LIBRARY_OBJECTS%'
PRACTCL_STUB_LIB='%STLIB_LD% %OUTFILE% %LIBRARY_OBJECTS%'
PRACTCL_TOOLSET='gcc'
PRACTCL_VC_MANIFEST_EMBED_DLL=':'
PRACTCL_VC_MANIFEST_EMBED_EXE=':'
PRACTCL_WINDOWINGSYSTEM='windows'
RANLIB=':'
RANLIB_STUB=':'
RC='windres'
SET_MAKE=''
SHARED_BUILD='1'
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_LD='${CC} -shared'
SHLIB_LD_LIBS='${LIBS} "/c/src/tk8.6.8-x64/win/libtkstub86.a" "/c/src/tcl8.6.8-x64/win/libtclstub86.a" -static-libgcc'
SHLIB_SUFFIX='.dll'
STLIB_LD='${AR} cr'
STUBS_BUILD='1'
TCLSH_PROG='/c/src/tcl8.6.8-x64/win/tclsh86.exe'
TCL_BIN_DIR='/c/src/tcl8.6.8-x64/win'
TCL_DBGX=''
TCL_DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DMODULE_SCOPE=extern -DTCL_CFG_DO64BIT=1 -DHAVE_NO_SEH=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_ZLIB=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_INTRIN_H=1 -DHAVE_WSPIAPI_H=1 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 '
TCL_EXTRA_CFLAGS='-pipe'
TCL_INCLUDES='-I"C:/src/tcl8.6.8-x64/generic" -I"C:/src/tcl8.6.8-x64/win"'
TCL_LD_FLAGS=''
TCL_LIBS='-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32'
TCL_LIB_FILE='libtcl86.a'
TCL_LIB_FLAG=''
TCL_LIB_SPEC='-LC:/src/tcl8.6.8-x64/win -ltcl86'
TCL_PATCH_LEVEL='.8'
TCL_SHLIB_LD_LIBS='${LIBS}'
TCL_SRC_DIR='C:/src/tcl8.6.8-x64'
TCL_STUB_LIB_FILE='libtclstub86.a'
TCL_STUB_LIB_FLAG='-ltclstub86'
TCL_STUB_LIB_SPEC='-LC:/src/tcl8.6.8-x64/win -ltclstub86'
TCL_THREADS='1'
TCL_TOP_DIR_NATIVE='"C:/src/tcl8.6.8-x64"'
TCL_VERSION='8.6'
TEA_TK_EXTENSION='1'
TK_BIN_DIR='/c/src/tk8.6.8-x64/win'
TK_INCLUDES='-I"/c/src/tk8.6.8-x64/generic" -I"/c/src/tk8.6.8-x64/win" -I"/c/src/tk8.6.8-x64/generic/ttk" -I""/c/src/tk8.6.8-x64/xlib""'
TK_LIBS='-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32'
TK_LIB_FILE='libtk86.a'
TK_LIB_FLAG='-ltk86'
TK_LIB_SPEC='-L/c/src/tk8.6.8-x64/win -ltk86'
TK_SRC_DIR='/c/src/tk8.6.8-x64'
TK_STUB_LIB_FILE='libtkstub86.a'
TK_STUB_LIB_FLAG='-ltkstub86'
TK_STUB_LIB_SPEC='-L/c/src/tk8.6.8-x64/win -ltkstub86'
TK_TOP_DIR_NATIVE='"/c/src/tk8.6.8-x64"'
TK_VERSION='8.6'
TK_XINCLUDES='-I"/c/src/tk8.6.8-x64/xlib"'
TK_XLIB_DIR_NATIVE='"/c/src/tk8.6.8-x64/xlib"'
VC_MANIFEST_EMBED_DLL=''
VC_MANIFEST_EMBED_EXE=''
WISH_PROG='/c/src/tk8.6.8-x64/win/wish86.exe'
XMKMF=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias='x86_64-w64-mingw32'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/c/bin/tcl8.6.8-x64'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/c/bin/tcl8.6.8-x64'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
tkblt_BUILD_LIB_SPEC='-L/c/src/tkblt-3.2.9-x64 -ltkblt32'
tkblt_BUILD_STUB_LIB_PATH='/c/src/tkblt-3.2.9-x64/libtkbltstub32.a'
tkblt_BUILD_STUB_LIB_SPEC='-L/c/src/tkblt-3.2.9-x64 -ltkbltstub32'
tkblt_LIB_SPEC='-L/c/bin/tcl8.6.8-x64/lib/tkblt3.2 -ltkblt32'
tkblt_STUB_LIB_PATH='/c/bin/tcl8.6.8-x64/lib/tkblt3.2/libtkbltstub32.a'
tkblt_STUB_LIB_SPEC='-L/c/bin/tcl8.6.8-x64/lib/tkblt3.2 -ltkbltstub32'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tkblt"
#define PACKAGE_TARNAME "tkblt"
#define PACKAGE_VERSION "3.2"
#define PACKAGE_STRING "tkblt 3.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define BUILD_tkblt /**/
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define TCL_THREADS 1
#define USE_TCL_STUBS 1
#define USE_TCLOO_STUBS 1
#define USE_TK_STUBS 1
#define MODULE_SCOPE extern
#define HAVE_NO_SEH 1
#define HAVE_CAST_TO_UNION 1
#define TCL_WIDE_INT_TYPE long long
#define HAVE_STRUCT_STAT64 1
#define HAVE_LSEEK64 1

configure: exit 0
