superupon / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

TR1 tuple from at least gcc-4.2.4 fails with -fno-rtti #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since googletest already has the GTEST_HAS_RTTI flag, it'd be nice to 
automatically set GTEST_HAS_TR1_TUPLE to 0 when __GNUC__ && !GTEST_HAS_RTTI.

Original issue reported on code.google.com by jyass...@gmail.com on 23 Jan 2010 at 12:10

GoogleCodeExporter commented 9 years ago
I have gcc 4.2.4 on my machine, and I can build/run all gtest's tests, including
gtest_no_rtti_unittest, which compiles gtest using -fno-rtti 
-DGTEST_HAS_RTTI=0.  Can
you provide more information?  Thanks.

Original comment by w...@google.com on 23 Jan 2010 at 12:24