LoginSignup
3
3

More than 5 years have passed since last update.

Google Test + Xcode5 / ""testing::internal::EqFailure(char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const

Posted at

Xcodeのコマンドラインツールのテンプレートで作成したプロジェクトに
Google Testの静的ライブラリをリンクしてビルドすると EXPECT_EQ マクロに起因したエラーが発生する。

展開されたC++コードをコンパイラが解釈できていないのが原因。
Xcode設定で"C++ Standard Livrary"を"Compiler Default"にすると回避できる。

スクリーンショット 2013-10-10 12.57.07 PM.png

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3