I get the following error (I cloned citra Bleeding edge) while making with mingw:
[ 22%] Building CXX object src/common/CMakeFiles/common.dir/microprofile.cpp.obj
In file included from C:/msys64/home/Xi/citra-bleeding-edge/src/common/microp rofile.h:23:0,
from C:/msys64/home/Xi/citra-bleeding-edge/src/common/microp rofile.cpp:7:
C:/msys64/home/Xi/citra-bleeding-edge/externals/microprofile/microprofile.h: In function 'DWORD ThreadTrampoline(void*)':
C:/msys64/home/Xi/citra-bleeding-edge/externals/microprofile/microprofile.h:9 29:25: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
return (uint32_t)F(0);
^
C:/msys64/home/Xi/citra-bleeding-edge/externals/microprofile/microprofile.h: In function 'void MicroProfileThreadStart(void**, MicroProfileThreadFunc)':
C:/msys64/home/Xi/citra-bleeding-edge/externals/microprofile/microprofile.h:9 34:63: error: invalid conversion from 'MicroProfileThreadFunc {aka void* (*)(voi d*)}' to 'LPVOID {aka void*}' [-fpermissive]
*pThread = CreateThread(0, 0, ThreadTrampoline, Func, 0, 0);
^
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:29: 0,
from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70,
from C:/msys64/home/Xi/citra-bleeding-edge/externals/micropr ofile/microprofile.h:882,
from C:/msys64/home/Xii/citra-bleeding-edge/src/common/microp rofile.h:23,
from C:/msys64/home/Xi/citra-bleeding-edge/src/common/microp rofile.cpp:7:
C:/msys64/mingw64/x86_64-w64-mingw32/include/processthreadsapi.h:163:28: note: initializing argument 4 of 'void* CreateThread(LPSECURITY_ATTRIBUTES, SIZE_T, L PTHREAD_START_ROUTINE, LPVOID, DWORD, LPDWORD)'
WINBASEAPI HANDLE WINAPI CreateThread (LPSECURITY_ATTRIBUTES lpThreadAttribut es, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParamete r, DWORD dwCreationFlags, LPDWORD lpThreadId);
^~~~~~~~~~~~
make[2]: *** [src/common/CMakeFiles/common.dir/build.make:279: src/common/CMakeF iles/common.dir/microprofile.cpp.obj] Fout 1
make[1]: *** [CMakeFiles/Makefile2:542: src/common/CMakeFiles/common.dir/all] Fo ut 2
make: *** [Makefile:95: all] Fout 2
Hmm.. try offcial citra git not bleeding edge