fatal: not a git repository (or any of the parent directories): .git
clang++ -O3 -march=native -fno-finite-math-only -funroll-loops -flto -std=c++20 -DNDEBUG -static -fuse-ld=lld ./src/board.cpp ./src/Chaos.cpp ./src/eval.cpp ./src/move.cpp ./src/movegen.cpp ./src/search.cpp ./external/fmt/format.cc  -o Chaos-BB843158
./src/Chaos.cpp:8:9: warning: 'NOMINMAX' macro redefined [-Wmacro-redefined]
    8 | #define NOMINMAX
      |         ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/include/c++/14.2.0/x86_64-w64-mingw32/bits/os_defines.h:45:9: note: previous definition is here
   45 | #define NOMINMAX 1
      |         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:69:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windef.h:9:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/minwindef.h:207:15: error: redefinition of 'HFILE' as different kind of symbol
  207 |   typedef int HFILE;
      |               ^
./src/types.h:111:54: note: previous definition is here
  111 |     AFILE, BFILE, CFILE, DFILE, EFILE, FFILE, GFILE, HFILE
      |                                                      ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1505:14: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1505 |   WINBASEAPI HFILE WINAPI OpenFile (LPCSTR lpFileName, LPOFSTRUCT lpReOpenBuff, UINT uStyle);
      |              ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1506:14: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1506 |   WINBASEAPI HFILE WINAPI _lopen (LPCSTR lpPathName, int iReadWrite);
      |              ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1507:14: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1507 |   WINBASEAPI HFILE WINAPI _lcreat (LPCSTR lpPathName, int iAttribute);
      |              ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1508:34: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1508 |   WINBASEAPI UINT WINAPI _lread (HFILE hFile, LPVOID lpBuffer, UINT uBytes);
      |                                  ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1509:35: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1509 |   WINBASEAPI UINT WINAPI _lwrite (HFILE hFile, LPCCH lpBuffer, UINT uBytes);
      |                                   ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1510:38: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1510 |   WINBASEAPI __LONG32 WINAPI _hread (HFILE hFile, LPVOID lpBuffer, __LONG32 lBytes);
      |                                      ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1511:39: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1511 |   WINBASEAPI __LONG32 WINAPI _hwrite (HFILE hFile, LPCCH lpBuffer, __LONG32 lBytes);
      |                                       ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1512:14: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1512 |   WINBASEAPI HFILE WINAPI _lclose (HFILE hFile);
      |              ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1512:36: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1512 |   WINBASEAPI HFILE WINAPI _lclose (HFILE hFile);
      |                                    ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
In file included from ./src/Chaos.cpp:9:
In file included from C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/windows.h:70:
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/winbase.h:1513:35: error: unknown type name 'HFILE'; did you mean 'FILE'?
 1513 |   WINBASEAPI LONG WINAPI _llseek (HFILE hFile, LONG lOffset, int iOrigin);
      |                                   ^
C:/winlibs-x86_64-posix-seh-gcc-14.2.0-llvm-19.1.7-mingw-w64ucrt-12.0.0-r3/mingw64/x86_64-w64-mingw32/include/wchar.h:52:25: note: 'FILE' declared here
   52 |   typedef struct _iobuf FILE;
      |                         ^
1 warning and 11 errors generated.
make: *** [Chaos-BB843158] Error 1