{"action":"closed","issue":{"url":"https://api.github.com/repos/LibreOffice/libvisio/issues/3","labels_url":"https://api.github.com/repos/LibreOffice/libvisio/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/LibreOffice/libvisio/issues/3/comments","events_url":"https://api.github.com/repos/LibreOffice/libvisio/issues/3/events","html_url":"https://github.com/LibreOffice/libvisio/issues/3","id":69727877,"number":3,"title":"test (importtest.cpp) fails to compile on OS X w/ clang (call to function operator<<)","user":{"login":"nieder","id":1105137,"avatar_url":"https://avatars.githubusercontent.com/u/1105137?v=3","gravatar_id":"","url":"https://api.github.com/users/nieder","html_url":"https://github.com/nieder","followers_url":"https://api.github.com/users/nieder/followers","following_url":"https://api.github.com/users/nieder/following{/other_user}","gists_url":"https://api.github.com/users/nieder/gists{/gist_id}","starred_url":"https://api.github.com/users/nieder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieder/subscriptions","organizations_url":"https://api.github.com/users/nieder/orgs","repos_url":"https://api.github.com/users/nieder/repos","events_url":"https://api.github.com/users/nieder/events{/privacy}","received_events_url":"https://api.github.com/users/nieder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T02:41:25Z","updated_at":"2015-07-22T08:40:19Z","closed_at":"2015-07-22T08:40:19Z","body":"On OS X 10.9, with clang (Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)) and cppunit-1.12.1:\r\n\r\n> clang++ -DHAVE_CONFIG_H -I. -I../..  -DTDOC=\\\"../../src/test/data\\\" -I/sw/opt/boost-1_58/include -I/sw/include -I../../inc -I/sw/include/librevenge-0.0  -I/sw/include/libxml2 -I/sw/include  -I/sw/include  --std=c++0x -I/sw/include/librevenge-0.0  -I/sw/include  -DNDEBUG -g -O2 -fvisibility=hidden -DLIBVISIO_VISIBILITY -Wall -Wextra -Wshadow -pedantic -MT test-importtest.o -MD -MP -MF .deps/test-importtest.Tpo -c -o test-importtest.o `test -f 'importtest.cpp' || echo './'`importtest.cpp\r\nIn file included from importtest.cpp:13:\r\nIn file included from /sw/include/cppunit/extensions/HelperMacros.h:9:\r\nIn file included from /sw/include/cppunit/TestCaller.h:5:\r\nIn file included from /sw/include/cppunit/TestCase.h:6:\r\n/sw/include/cppunit/TestAssert.h:49:13: error: call to function 'operator<<' that is neither visible in the template definition nor found by\r\n      argument-dependent lookup\r\n        ost << x;\r\n            ^\r\n/sw/include/cppunit/TestAssert.h:101:50: note: in instantiation of member function 'CppUnit::assertion_traits<librevenge::RVNGString>::toString'\r\n      requested here\r\n    Asserter::failNotEqual( assertion_traits<T>::toString(expected),\r\n                                                 ^\r\nimporttest.cpp:66:3: note: in instantiation of function template specialization 'CppUnit::assertEquals<librevenge::RVNGString>' requested here\r\n  CPPUNIT_ASSERT_EQUAL_MESSAGE(message.cstr(), expectedValue, actualValue);\r\n  ^\r\n/sw/include/cppunit/TestAssert.h:214:17: note: expanded from macro 'CPPUNIT_ASSERT_EQUAL_MESSAGE'\r\n  ( CPPUNIT_NS::assertEquals( (expected),              \\\r\n                ^\r\nimporttest.cpp:20:15: note: 'operator<<' should be declared prior to the call site or in namespace 'librevenge'\r\nstd::ostream &operator <<(std::ostream &s, const librevenge::RVNGString &string)\r\n              ^\r\n1 error generated.\r\n"}}