Coding

Google C++ Testing Framework and C++11

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.