Google C++ Testing Framework and C++11

0

Posted by Jaime | Posted in Coding | Posted on 01-10-2012

Tags: , ,

I’ve been using Google’s C++ Testing Framework for some time now, but as soon as I tried to use C++11 in Xcode, I was met with some issues about the tuple header file not being found.

Unfortunately for me, that means I had to leave that header out of my project using the following option:
GCC_PREPROCESSOR_DEFINITIONS = GTEST_HAS_TR1_TUPLE=0