{"action":"created","comment":{"url":"https://api.github.com/repos/cpputest/cpputest/pulls/comments/60690416","id":60690416,"diff_hunk":"@@ -211,13 +213,31 @@ typedef unsigned long long cpputest_ulonglong;\n /* Define some placeholders to disable the overloaded methods.\n  * It's not required to have these match the size of the \"real\" type, but it's occasionally convenient.\n  */\n+\n #if defined(CPPUTEST_64BIT) && !defined(CPPUTEST_64BIT_32BIT_LONGS)\n-typedef struct { char dummy[16]; } cpputest_longlong;\n-typedef struct { char dummy[16]; } cpputest_ulonglong;\n+#define CPPUTEST_SIZE_OF_FAKE_LONG_LONG_TYPE 16\n #else\n-typedef struct { char dummy[8]; } cpputest_longlong;\n-typedef struct { char dummy[8]; } cpputest_ulonglong;\n+#define CPPUTEST_SIZE_OF_FAKE_LONG_LONG_TYPE 8\n #endif\n+\n+struct cpputest_longlong\n+{\n+#if defined(__cplusplus)\n+  cpputest_longlong() {}\n+  cpputest_longlong(int) {}\n+#endif\n+  char dummy[CPPUTEST_SIZE_OF_FAKE_LONG_LONG_TYPE];\n+};\n+\n+struct cpputest_ulonglong\n+{\n+#if defined(__cplusplus)\n+  cpputest_ulonglong() {}\n+  cpputest_ulonglong(int) {}\n+#endif\n+  char dummy[CPPUTEST_SIZE_OF_FAKE_LONG_LONG_TYPE];\n+};\n+","path":"include/CppUTest/CppUTestConfig.h","position":51,"original_position":54,"commit_id":"2478e159ab5c721be7f16317f531503e95d402d3","original_commit_id":"2478e159ab5c721be7f16317f531503e95d402d3","user":{"login":"arstrube","id":4686469,"avatar_url":"https://avatars.githubusercontent.com/u/4686469?v=3","gravatar_id":"","url":"https://api.github.com/users/arstrube","html_url":"https://github.com/arstrube","followers_url":"https://api.github.com/users/arstrube/followers","following_url":"https://api.github.com/users/arstrube/following{/other_user}","gists_url":"https://api.github.com/users/arstrube/gists{/gist_id}","starred_url":"https://api.github.com/users/arstrube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arstrube/subscriptions","organizations_url":"https://api.github.com/users/arstrube/orgs","repos_url":"https://api.github.com/users/arstrube/repos","events_url":"https://api.github.com/users/arstrube/events{/privacy}","received_events_url":"https://api.github.com/users/arstrube/received_events","type":"User","site_admin":false},"body":"@uecasm I'm not sure I can follow about the not working in C code (or how it does work when it does). Could you suggest a C test that would / wouldn't work, depending on typedef / no typedef? Obviously, whatever is tested in C at present, does work. And generally, it is possible to use structs in C (e.g. as arguments) without typedef.","created_at":"2016-04-22T04:39:09Z","updated_at":"2016-04-22T04:39:09Z","html_url":"https://github.com/cpputest/cpputest/pull/941#discussion_r60690416","pull_request_url":"https://api.github.com/repos/cpputest/cpputest/pulls/941","_links":{"self":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/comments/60690416"},"html":{"href":"https://github.com/cpputest/cpputest/pull/941#discussion_r60690416"},"pull_request":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/941"}}},"pull_request":{"url":"https://api.github.com/repos/cpputest/cpputest/pulls/941","id":67193251,"html_url":"https://github.com/cpputest/cpputest/pull/941","diff_url":"https://github.com/cpputest/cpputest/pull/941.diff","patch_url":"https://github.com/cpputest/cpputest/pull/941.patch","issue_url":"https://api.github.com/repos/cpputest/cpputest/issues/941","number":941,"state":"open","locked":false,"title":"Long long test support","user":{"login":"basvodde","id":509919,"avatar_url":"https://avatars.githubusercontent.com/u/509919?v=3","gravatar_id":"","url":"https://api.github.com/users/basvodde","html_url":"https://github.com/basvodde","followers_url":"https://api.github.com/users/basvodde/followers","following_url":"https://api.github.com/users/basvodde/following{/other_user}","gists_url":"https://api.github.com/users/basvodde/gists{/gist_id}","starred_url":"https://api.github.com/users/basvodde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvodde/subscriptions","organizations_url":"https://api.github.com/users/basvodde/orgs","repos_url":"https://api.github.com/users/basvodde/repos","events_url":"https://api.github.com/users/basvodde/events{/privacy}","received_events_url":"https://api.github.com/users/basvodde/received_events","type":"User","site_admin":false},"body":"Some minor changes (and reverts) from @uecasm long long support pull request. Now it uses the CppUtestGeneratedConfig when installing, which will by default support long long then.","created_at":"2016-04-20T14:09:33Z","updated_at":"2016-04-22T04:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc894d9ac608dbb5695595f50217630a00bbfcfe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cpputest/cpputest/pulls/941/commits","review_comments_url":"https://api.github.com/repos/cpputest/cpputest/pulls/941/comments","review_comment_url":"https://api.github.com/repos/cpputest/cpputest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpputest/cpputest/issues/941/comments","statuses_url":"https://api.github.com/repos/cpputest/cpputest/statuses/2478e159ab5c721be7f16317f531503e95d402d3","head":{"label":"basvodde:long-long","ref":"long-long","sha":"2478e159ab5c721be7f16317f531503e95d402d3","user":{"login":"basvodde","id":509919,"avatar_url":"https://avatars.githubusercontent.com/u/509919?v=3","gravatar_id":"","url":"https://api.github.com/users/basvodde","html_url":"https://github.com/basvodde","followers_url":"https://api.github.com/users/basvodde/followers","following_url":"https://api.github.com/users/basvodde/following{/other_user}","gists_url":"https://api.github.com/users/basvodde/gists{/gist_id}","starred_url":"https://api.github.com/users/basvodde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvodde/subscriptions","organizations_url":"https://api.github.com/users/basvodde/orgs","repos_url":"https://api.github.com/users/basvodde/repos","events_url":"https://api.github.com/users/basvodde/events{/privacy}","received_events_url":"https://api.github.com/users/basvodde/received_events","type":"User","site_admin":false},"repo":{"id":22344404,"name":"cpputest","full_name":"basvodde/cpputest","owner":{"login":"basvodde","id":509919,"avatar_url":"https://avatars.githubusercontent.com/u/509919?v=3","gravatar_id":"","url":"https://api.github.com/users/basvodde","html_url":"https://github.com/basvodde","followers_url":"https://api.github.com/users/basvodde/followers","following_url":"https://api.github.com/users/basvodde/following{/other_user}","gists_url":"https://api.github.com/users/basvodde/gists{/gist_id}","starred_url":"https://api.github.com/users/basvodde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvodde/subscriptions","organizations_url":"https://api.github.com/users/basvodde/orgs","repos_url":"https://api.github.com/users/basvodde/repos","events_url":"https://api.github.com/users/basvodde/events{/privacy}","received_events_url":"https://api.github.com/users/basvodde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/basvodde/cpputest","description":"CppUTest unit testing and mocking framework for C/C++","fork":true,"url":"https://api.github.com/repos/basvodde/cpputest","forks_url":"https://api.github.com/repos/basvodde/cpputest/forks","keys_url":"https://api.github.com/repos/basvodde/cpputest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basvodde/cpputest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basvodde/cpputest/teams","hooks_url":"https://api.github.com/repos/basvodde/cpputest/hooks","issue_events_url":"https://api.github.com/repos/basvodde/cpputest/issues/events{/number}","events_url":"https://api.github.com/repos/basvodde/cpputest/events","assignees_url":"https://api.github.com/repos/basvodde/cpputest/assignees{/user}","branches_url":"https://api.github.com/repos/basvodde/cpputest/branches{/branch}","tags_url":"https://api.github.com/repos/basvodde/cpputest/tags","blobs_url":"https://api.github.com/repos/basvodde/cpputest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basvodde/cpputest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basvodde/cpputest/git/refs{/sha}","trees_url":"https://api.github.com/repos/basvodde/cpputest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basvodde/cpputest/statuses/{sha}","languages_url":"https://api.github.com/repos/basvodde/cpputest/languages","stargazers_url":"https://api.github.com/repos/basvodde/cpputest/stargazers","contributors_url":"https://api.github.com/repos/basvodde/cpputest/contributors","subscribers_url":"https://api.github.com/repos/basvodde/cpputest/subscribers","subscription_url":"https://api.github.com/repos/basvodde/cpputest/subscription","commits_url":"https://api.github.com/repos/basvodde/cpputest/commits{/sha}","git_commits_url":"https://api.github.com/repos/basvodde/cpputest/git/commits{/sha}","comments_url":"https://api.github.com/repos/basvodde/cpputest/comments{/number}","issue_comment_url":"https://api.github.com/repos/basvodde/cpputest/issues/comments{/number}","contents_url":"https://api.github.com/repos/basvodde/cpputest/contents/{+path}","compare_url":"https://api.github.com/repos/basvodde/cpputest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basvodde/cpputest/merges","archive_url":"https://api.github.com/repos/basvodde/cpputest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basvodde/cpputest/downloads","issues_url":"https://api.github.com/repos/basvodde/cpputest/issues{/number}","pulls_url":"https://api.github.com/repos/basvodde/cpputest/pulls{/number}","milestones_url":"https://api.github.com/repos/basvodde/cpputest/milestones{/number}","notifications_url":"https://api.github.com/repos/basvodde/cpputest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basvodde/cpputest/labels{/name}","releases_url":"https://api.github.com/repos/basvodde/cpputest/releases{/id}","deployments_url":"https://api.github.com/repos/basvodde/cpputest/deployments","created_at":"2014-07-28T13:59:01Z","updated_at":"2016-01-14T03:42:48Z","pushed_at":"2016-04-21T04:20:32Z","git_url":"git://github.com/basvodde/cpputest.git","ssh_url":"git@github.com:basvodde/cpputest.git","clone_url":"https://github.com/basvodde/cpputest.git","svn_url":"https://github.com/basvodde/cpputest","homepage":"http://cpputest.github.com","size":9750,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cpputest:master","ref":"master","sha":"96d0ab01265059ada65b2fa6a0e4d865f4ef2e4f","user":{"login":"cpputest","id":2120339,"avatar_url":"https://avatars.githubusercontent.com/u/2120339?v=3","gravatar_id":"","url":"https://api.github.com/users/cpputest","html_url":"https://github.com/cpputest","followers_url":"https://api.github.com/users/cpputest/followers","following_url":"https://api.github.com/users/cpputest/following{/other_user}","gists_url":"https://api.github.com/users/cpputest/gists{/gist_id}","starred_url":"https://api.github.com/users/cpputest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpputest/subscriptions","organizations_url":"https://api.github.com/users/cpputest/orgs","repos_url":"https://api.github.com/users/cpputest/repos","events_url":"https://api.github.com/users/cpputest/events{/privacy}","received_events_url":"https://api.github.com/users/cpputest/received_events","type":"Organization","site_admin":false},"repo":{"id":5269602,"name":"cpputest","full_name":"cpputest/cpputest","owner":{"login":"cpputest","id":2120339,"avatar_url":"https://avatars.githubusercontent.com/u/2120339?v=3","gravatar_id":"","url":"https://api.github.com/users/cpputest","html_url":"https://github.com/cpputest","followers_url":"https://api.github.com/users/cpputest/followers","following_url":"https://api.github.com/users/cpputest/following{/other_user}","gists_url":"https://api.github.com/users/cpputest/gists{/gist_id}","starred_url":"https://api.github.com/users/cpputest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpputest/subscriptions","organizations_url":"https://api.github.com/users/cpputest/orgs","repos_url":"https://api.github.com/users/cpputest/repos","events_url":"https://api.github.com/users/cpputest/events{/privacy}","received_events_url":"https://api.github.com/users/cpputest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cpputest/cpputest","description":"CppUTest unit testing and mocking framework for C/C++","fork":false,"url":"https://api.github.com/repos/cpputest/cpputest","forks_url":"https://api.github.com/repos/cpputest/cpputest/forks","keys_url":"https://api.github.com/repos/cpputest/cpputest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpputest/cpputest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpputest/cpputest/teams","hooks_url":"https://api.github.com/repos/cpputest/cpputest/hooks","issue_events_url":"https://api.github.com/repos/cpputest/cpputest/issues/events{/number}","events_url":"https://api.github.com/repos/cpputest/cpputest/events","assignees_url":"https://api.github.com/repos/cpputest/cpputest/assignees{/user}","branches_url":"https://api.github.com/repos/cpputest/cpputest/branches{/branch}","tags_url":"https://api.github.com/repos/cpputest/cpputest/tags","blobs_url":"https://api.github.com/repos/cpputest/cpputest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpputest/cpputest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpputest/cpputest/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpputest/cpputest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpputest/cpputest/statuses/{sha}","languages_url":"https://api.github.com/repos/cpputest/cpputest/languages","stargazers_url":"https://api.github.com/repos/cpputest/cpputest/stargazers","contributors_url":"https://api.github.com/repos/cpputest/cpputest/contributors","subscribers_url":"https://api.github.com/repos/cpputest/cpputest/subscribers","subscription_url":"https://api.github.com/repos/cpputest/cpputest/subscription","commits_url":"https://api.github.com/repos/cpputest/cpputest/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpputest/cpputest/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpputest/cpputest/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpputest/cpputest/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpputest/cpputest/contents/{+path}","compare_url":"https://api.github.com/repos/cpputest/cpputest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpputest/cpputest/merges","archive_url":"https://api.github.com/repos/cpputest/cpputest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpputest/cpputest/downloads","issues_url":"https://api.github.com/repos/cpputest/cpputest/issues{/number}","pulls_url":"https://api.github.com/repos/cpputest/cpputest/pulls{/number}","milestones_url":"https://api.github.com/repos/cpputest/cpputest/milestones{/number}","notifications_url":"https://api.github.com/repos/cpputest/cpputest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpputest/cpputest/labels{/name}","releases_url":"https://api.github.com/repos/cpputest/cpputest/releases{/id}","deployments_url":"https://api.github.com/repos/cpputest/cpputest/deployments","created_at":"2012-08-02T07:32:25Z","updated_at":"2016-04-20T09:54:25Z","pushed_at":"2016-04-21T13:42:19Z","git_url":"git://github.com/cpputest/cpputest.git","ssh_url":"git@github.com:cpputest/cpputest.git","clone_url":"https://github.com/cpputest/cpputest.git","svn_url":"https://github.com/cpputest/cpputest","homepage":"http://cpputest.github.com","size":12066,"stargazers_count":311,"watchers_count":311,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":179,"mirror_url":null,"open_issues_count":128,"forks":179,"open_issues":128,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/941"},"html":{"href":"https://github.com/cpputest/cpputest/pull/941"},"issue":{"href":"https://api.github.com/repos/cpputest/cpputest/issues/941"},"comments":{"href":"https://api.github.com/repos/cpputest/cpputest/issues/941/comments"},"review_comments":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/941/comments"},"review_comment":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpputest/cpputest/pulls/941/commits"},"statuses":{"href":"https://api.github.com/repos/cpputest/cpputest/statuses/2478e159ab5c721be7f16317f531503e95d402d3"}}}}