{"action":"closed","issue":{"url":"https://api.github.com/repos/unittest-cpp/unittest-cpp/issues/64","labels_url":"https://api.github.com/repos/unittest-cpp/unittest-cpp/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/unittest-cpp/unittest-cpp/issues/64/comments","events_url":"https://api.github.com/repos/unittest-cpp/unittest-cpp/issues/64/events","html_url":"https://github.com/unittest-cpp/unittest-cpp/issues/64","id":53225384,"number":64,"title":"CHECK macros redefinition","user":{"login":"sinjar666","id":3319337,"avatar_url":"https://avatars.githubusercontent.com/u/3319337?v=3","gravatar_id":"","url":"https://api.github.com/users/sinjar666","html_url":"https://github.com/sinjar666","followers_url":"https://api.github.com/users/sinjar666/followers","following_url":"https://api.github.com/users/sinjar666/following{/other_user}","gists_url":"https://api.github.com/users/sinjar666/gists{/gist_id}","starred_url":"https://api.github.com/users/sinjar666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinjar666/subscriptions","organizations_url":"https://api.github.com/users/sinjar666/orgs","repos_url":"https://api.github.com/users/sinjar666/repos","events_url":"https://api.github.com/users/sinjar666/events{/privacy}","received_events_url":"https://api.github.com/users/sinjar666/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-01T18:26:58Z","updated_at":"2015-01-30T18:57:28Z","closed_at":"2015-01-30T18:57:28Z","body":"CheckMacros.h has a ifdef to check if \r\nCHECK, CHECK_EQUAL, etc have been already defined.\r\nThis gives me problems when some code which links to other libraries (like glog) which have a CHECK macro (but with different definition) are being tested.\r\nNamespaces cant help with preprocessor macros.\r\nHow can I work around this?\r\n\r\nIf the check macros made calls to static methods within a class thats in the UnitTest namespace, maybe this can be solved by calling the static methods instead of macros in such cases."}}