I have localized the problem: MinGW-w64 trunk (not the stable branch) defines strncasecmp as a macro, making Clang's builtin declarations faulty. I can resolve the build error by adding an "#undef strncasecmp" (like the "#undef setjmp" in the same file) to builtins.def, but before submitting a patch I contacted the MinGW-w64 devs to see if the problem cannot be resolved on their end, as this would be the only platform the undef does anything.<br>
<br>I'll submit a patch for Clang if MinGW-w64's macro is deemed necessary.<br><br>Ruben<br><br><div class="gmail_quote">2012/2/24 Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com">popizdeh@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mingw32-make clang (r151358) finished without errors for me.<br>
</blockquote></div><br>