Closed GoogleCodeExporter closed 9 years ago
I have added a FAQ entry
(http://code.google.com/p/googletest/wiki/FAQ#Google_Test_defines_a_macro_that_c
lashes_with_one_defined_by_ano) to make the macro clash information more
prominent.
Original comment by vladlosev
on 13 Jan 2011 at 9:52
Thanks for the information but this must be for an earlier version. We're using
gtest-1.5.0 and the README specifically states -DGTEST_DONT_DEFINE_FOO=1 ...
Currently FOO can be FAIL, SUCCEED or TEST.
Renaming the macros such as ASSERT_EQ requires checking out the latest test
project source code at http://code.google.com/p/googletest/source/checkout .
This feature will likely be in 1.5.1
But thanks once again for the tip! :)
Original comment by Trailing...@gmail.com
on 14 Jan 2011 at 5:36
Original issue reported on code.google.com by
Trailing...@gmail.com
on 12 Jan 2011 at 4:14