{"action":"created","issue":{"url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/31","labels_url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/31/comments","events_url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/31/events","html_url":"https://github.com/ethz-asl/eigen_checks/issues/31","id":54516282,"number":31,"title":"can't determine template type under osx?","user":{"login":"markusachtelik","id":739235,"avatar_url":"https://avatars.githubusercontent.com/u/739235?v=3","gravatar_id":"","url":"https://api.github.com/users/markusachtelik","html_url":"https://github.com/markusachtelik","followers_url":"https://api.github.com/users/markusachtelik/followers","following_url":"https://api.github.com/users/markusachtelik/following{/other_user}","gists_url":"https://api.github.com/users/markusachtelik/gists{/gist_id}","starred_url":"https://api.github.com/users/markusachtelik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusachtelik/subscriptions","organizations_url":"https://api.github.com/users/markusachtelik/orgs","repos_url":"https://api.github.com/users/markusachtelik/repos","events_url":"https://api.github.com/users/markusachtelik/events{/privacy}","received_events_url":"https://api.github.com/users/markusachtelik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-15T22:50:45Z","updated_at":"2015-01-16T12:15:34Z","closed_at":"2015-01-16T12:15:34Z","body":"I get the awesome error below, when using EIGEN_MATRIX_NEAR under osx. Looks like something can't deduct the template type anymore?\r\n\r\nAny Ideas? Thanks a lot!\r\n\r\n```\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:24:49: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n        << \" has \" << rhs.rows() << \" rows.\" << std::endl;\r\n                                                ^~~~~~~~~\r\n/Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:147:19: note: in instantiation of function template specialization\r\n      'eigen_checks::internal::MatricesNear<Eigen::Matrix<double, 3, 3, 0, 3, 3>, Eigen::Matrix<double, 3, 3, 0, 3, 3> >' requested here\r\n      EXPECT_TRUE(EIGEN_MATRIX_NEAR(m, n, tol));\r\n                  ^\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:20:27: note: expanded from macro 'EIGEN_MATRIX_NEAR'\r\n  eigen_checks::internal::MatricesNear(MatrixA, #MatrixA, MatrixB, #MatrixB, \\\r\n                          ^\r\n/usr/local/include/gtest/gtest.h:1697:23: note: expanded from macro 'EXPECT_TRUE'\r\n  GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \\\r\n                      ^\r\n/usr/local/include/gtest/internal/gtest-internal.h:875:34: note: expanded from macro 'GTEST_TEST_BOOLEAN_'\r\n      ::testing::AssertionResult(expression)) \\\r\n                                 ^\r\n/Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:233:3: note: in instantiation of function template specialization 'checkPath<10>'\r\n      requested here\r\n  checkPath(vertices, segments);\r\n  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:31:50: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n        << \" cols \" << rhs.cols() << \" cols.\" << std::endl;\r\n                                                 ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:32:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_lhs << \":\\n\" << lhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:33:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_rhs << \":\\n\" << rhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:74:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_lhs << \":\\n\" << lhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:75:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_rhs << \":\\n\" << rhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:76:57: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << \"Difference:\\n\" << (lhs - rhs) << std::endl;\r\n                                                        ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:24:49: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n        << \" has \" << rhs.rows() << \" rows.\" << std::endl;\r\n                                                ^~~~~~~~~\r\n/Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:148:19: note: in instantiation of function template specialization\r\n      'eigen_checks::internal::MatricesNear<Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >' requested here\r\n      EXPECT_TRUE(EIGEN_MATRIX_NEAR(desired, actual, tol)) << \"at vertex \" << i << \" and constraint \"\r\n                  ^\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:20:27: note: expanded from macro 'EIGEN_MATRIX_NEAR'\r\n  eigen_checks::internal::MatricesNear(MatrixA, #MatrixA, MatrixB, #MatrixB, \\\r\n                          ^\r\n/usr/local/include/gtest/gtest.h:1697:23: note: expanded from macro 'EXPECT_TRUE'\r\n  GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \\\r\n                      ^\r\n/usr/local/include/gtest/internal/gtest-internal.h:875:34: note: expanded from macro 'GTEST_TEST_BOOLEAN_'\r\n      ::testing::AssertionResult(expression)) \\\r\n                                 ^\r\n/Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:233:3: note: in instantiation of function template specialization 'checkPath<10>'\r\n      requested here\r\n  checkPath(vertices, segments);\r\n  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:31:50: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n        << \" cols \" << rhs.cols() << \" cols.\" << std::endl;\r\n                                                 ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:32:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_lhs << \":\\n\" << lhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:33:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_rhs << \":\\n\" << rhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:74:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_lhs << \":\\n\" << lhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:75:51: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << name_rhs << \":\\n\" << rhs << std::endl;\r\n                                                  ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\nIn file included from /Users/acmarkus/Development/catkin_ws/src/ethzasl_mav_pathplanning/mav_planning_utils/src/test/polynomial_optimization.cpp:37:\r\nIn file included from /Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/gtest.h:6:\r\n/Users/acmarkus/Development/indigo_ws_add/src/eigen_checks/include/eigen-checks/internal/gtest-equal.h:76:57: error: reference to overloaded function could not be resolved; did you mean to call it?\r\n    failure_reason << \"Difference:\\n\" << (lhs - rhs) << std::endl;\r\n                                                        ^~~~~~~~~\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:1020:1: note: possible target for call\r\nendl(basic_ostream<_CharT, _Traits>& __os)\r\n^\r\n/Users/acmarkus/Development/indigo_ws_add/devel/include/glog/logging.h:604:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &'\r\n      (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator<<(\r\n                     ^\r\n/usr/local/include/gtest/gtest-message.h:224:22: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st argument\r\ninline std::ostream& operator <<(std::ostream& os, const Message& sb) {\r\n                     ^\r\n/usr/local/include/gtest/gtest-test-part.h:117:15: note: candidate function not viable: no known conversion from 'testing::AssertionResult' to 'std::ostream &' (aka 'basic_ostream<char> &') for 1st\r\n      argument\r\nstd::ostream& operator<<(std::ostream& os, const TestPartResult& result);\r\n              ^\r\n/usr/local/include/gtest/gtest.h:299:35: note: candidate template ignored: couldn't infer template argument 'T'\r\nAssertionResult& AssertionResult::operator<<(const T& value) {\r\n                                  ^\r\n14 errors generated.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/comments/70245937","html_url":"https://github.com/ethz-asl/eigen_checks/issues/31#issuecomment-70245937","issue_url":"https://api.github.com/repos/ethz-asl/eigen_checks/issues/31","id":70245937,"user":{"login":"markusachtelik","id":739235,"avatar_url":"https://avatars.githubusercontent.com/u/739235?v=3","gravatar_id":"","url":"https://api.github.com/users/markusachtelik","html_url":"https://github.com/markusachtelik","followers_url":"https://api.github.com/users/markusachtelik/followers","following_url":"https://api.github.com/users/markusachtelik/following{/other_user}","gists_url":"https://api.github.com/users/markusachtelik/gists{/gist_id}","starred_url":"https://api.github.com/users/markusachtelik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusachtelik/subscriptions","organizations_url":"https://api.github.com/users/markusachtelik/orgs","repos_url":"https://api.github.com/users/markusachtelik/repos","events_url":"https://api.github.com/users/markusachtelik/events{/privacy}","received_events_url":"https://api.github.com/users/markusachtelik/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T12:15:34Z","updated_at":"2015-01-16T12:15:34Z","body":"thanks a lot! that worked."}}