This is not actually a bug. MINGW64 build is not officially supported, but as I need it I got my PR merged. This PR still won't fully fix the problem. We also need this commit, but the maintainers are not willing to merge it. I should probably keep my fork to support MINGW64 build.
Expected behavior
ycmd, a submodule of YouCompleteMe, should successfully build on MINGW64.
Actual behavior
ycmd, a submodule of YouCompleteMe, fails on MINGW64.
How to reproduce
Run the commands below on MINGW64.
git clone --recursive https://github.com/Valloric/YouCompleteMe.git
cd YouCompleteMe
pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-python2
python2 installer.py --clang-completer --system-libclang
Posted on Utopian.io - Rewarding Open Source Contributors