[llvm-commits] [llvm] r61540 - in /llvm/trunk/utils/unittest/googletest: Makefile README.LLVM gtest-all.cc gtest-death-test.cc gtest-internal-inl.h gtest-test-part.cc gtest.cc gtest_main.cc include/gtest/internal/gtest-internal-inl.h

Misha Brukman brukman at gmail.com
Wed Jan 7 14:29:57 PST 2009


2009/1/5 Misha Brukman <brukman at gmail.com>

> 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.
>
> I tried using /usr/bin/g++4 on this simple one-line file and it failed to
> compile, saying the header wasn't found:
>
> ------8<------
> #include <tr1/tuple>
> ------8<------
>
> 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++:
>
>
> http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/include/tr1/tuple?view=log
>
> 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.
>

Turns out it's already on the list on http://llvm.org/GettingStarted.html,
added on 10 Dec 2008 by Nuno Lopes in r60841.  I just checked the GCC
version on maute.cs.uiuc.edu and it exactly matches the description in the
file.

John, it looks like you'll have to install a newer GCC on those machines,
either from 4.2 or 4.3 series.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090107/08fd778b/attachment.html>


More information about the llvm-commits mailing list