Closed GoogleCodeExporter closed 9 years ago
Original comment by zhanyong...@gmail.com
on 13 Jan 2009 at 5:39
Using tr1 tuple from boost with gcc 3.3 under linux (ubuntu 8.10):
export CXX=g++-3.3
export CPPFLAGS="-I/home/yop/workbench/gmock-1.0.0/boost_1_36_0/
-I/home/yop/workbench/gmock-1.0.0/boost_1_36_0/boost/tr1"
./configure
make
Results in error:
In file included from include/gmock/gmock-matchers.h:46,
from include/gmock/gmock-spec-builders.h:71,
from include/gmock/gmock-generated-function-mockers.h:41,
from include/gmock/gmock.h:61,
from src/gmock.cc:32:
include/gmock/gmock-printers.h: In function `void
testing::internal::DefaultPrintTo(char, const T&, std::ostream*)':
include/gmock/gmock-printers.h:177: error: syntax error before `operator'
include/gmock/gmock-printers.h:182: error: syntax error before `operator'
After applying the attached patch compiles succesfully.
make check fails with errors bellow repeatedly:
test/gtest_pred_impl_unittest.cc: In member function `virtual void
EXPECT_PRED_FORMAT1Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
test/gtest_pred_impl_unittest.cc:333: error: syntax error before string
constant
Original comment by y.pag...@gmail.com
on 15 Jan 2009 at 4:21
Attachments:
Patch available for code review: http://codereview.appspot.com/11916
Original comment by y.pag...@gmail.com
on 16 Jan 2009 at 11:14
Sorry we missed you comment on Jan 16. In the future, please send the message
to the
googlemock discussion group to avoid it being lost.
Original comment by zhanyong...@gmail.com
on 4 Mar 2009 at 7:14
Closed since we haven't heard from y.pagles for a long time. We can reopen it
if the
user wants to work on it again.
Original comment by zhanyong...@gmail.com
on 5 Jun 2009 at 5:35
Original issue reported on code.google.com by
zhanyong...@gmail.com
on 13 Jan 2009 at 5:38