Hi,
EDIT:
I originally thought there was an issue determining if two non-numeric types like strings or characters were the same, e.g. ASSERT_EQ(std::string, std::string), ASSERT_EQ(std::char, std::char)), however, I have discovered that this issue extends to int and float types as well if values were typecasted from another type, so it appears that typecasting causes an issue with ASSERT_EQ().
This functionality works fine on x86 platforms, and typecasting non-int/float values to int then testing with ASSERT_EQ() works fine on x86 as well.
Has anyone encountered this issue using GTest ASSERT_EQ on the TX1?
(To see my particular error of interest occur on TX1, clone and ./compile the LibSerial serial communications library: https://github.com/crayzeewulf/libserial.git ).
CMakeFiles/unitTests.dir/LibSerialTest.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<int, int>(char const*, char const*, int const&, int const&)':
/usr/include/gtest/gtest.h:1337: undefined reference to `testing::internal::EqFailure(char const*, char const*, testing::internal::String const&, testing::internal::String const&, bool)'
Thanks for any advice you might have!
-Mark