2009/1/5 Misha Brukman <span dir="ltr"><<a href="mailto:brukman@gmail.com">brukman@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div>Yes, I do.  I just looked into gtest source code, and it doesn't look like it needs any preprocessor tokens to get tr1 to work.<br><br>I tried using /usr/bin/g++4 on this simple one-line file and it failed to compile, saying the header wasn't found:<br>

<br>------8<------<br>#include <tr1/tuple><br>------8<------<br><br>This tells me that the g++ on your system might not be installed correctly, because it works for me with gcc-4.1.1 and also because that is the location of the header in libstdc++:<br>

<br><a href="http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/include/tr1/tuple?view=log" target="_blank">http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/include/tr1/tuple?view=log</a><br><br>so it might be that this RedHat package was badly configured/installed and might need to go on the list of "broken versions of GCC" for LLVM.</div>
</div></blockquote><div><br>Turns out it's already on the list on <a href="http://llvm.org/GettingStarted.html">http://llvm.org/GettingStarted.html</a>, added on 10 Dec 2008 by Nuno Lopes in r60841.  I just checked the GCC version on <a href="http://maute.cs.uiuc.edu">maute.cs.uiuc.edu</a> and it exactly matches the description in the file.<br>
</div></div><br>John, it looks like you'll have to install a newer GCC on those machines, either from 4.2 or 4.3 series.<br>