<div class="gmail_quote">2011/11/2 Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Ruben,<br>
<div><br>
> I don't know since when, but this file has been changed to remove all the<br>
> trickery (aka defines) needed for MinGW-w64 (and probably everything else<br>
> that as forgotten) to succesfully compile it.<br>
</div>Will you please check which commit introduces the breakage?<br></blockquote><div><br>My git clone of LLVM shows<br>git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@130657">https://llvm.org/svn/llvm-project/llvm/trunk@130657</a> 91177308-0d34-0410-b5e6-96231b3b80d8<br>

as the "offender". It seems this code was replaced by a configure-time check. That check apparently misses out when configuring on msys like this:<br>$ /m/Development/Source/LLVM/configure --host=x86_64-w64-mingw32 --enable-optimized --disable-assertions --disable-pthreads CC=clang CXX=clang++<br>
<br>For some reason unknown to me. I was wondering why the CMake build was fine...<br><br>Ruben<br>
</div></div>