<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 9:56 AM, Konstantin Tokarev <span dir="ltr"><<a href="mailto:annulen@yandex.ru" target="_blank">annulen@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I've managed to build LLVM and Clang with EKOPath 4.0.12.1 compiler. Here are patches I had to introcduce<br>
to make it compiling.<br>
<br>
Patch for clang moves some classes from anonymous namespaces which otherwise caused linker<br>
errors. Probably it's a bug in compiler producing symbols with incorrect visibility.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Regards,<br>
Konstantin</font></span><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br>I must admit it seems weird to be tweaking the code just to get it to compile with an exotic compiler.<br><br>Adding includes occurs regularly because the standard does not define which standard includes include which others, so you often miss one or two.<br>
<br>On the other hand, it seems strange that you had to add the "std::" qualifiers, remove the anonymous namespace in some places (all ?) and change *--S.end() into S[S.size()-1].<br><br>I think it would be more productive to file bugs against EKOPath so they improve their compiler instead. Don't you ?<br>
<br>-- Matthieu<br>