{"action":"created","issue":{"url":"https://api.github.com/repos/sithlord48/ff7tk/issues/8","repository_url":"https://api.github.com/repos/sithlord48/ff7tk","labels_url":"https://api.github.com/repos/sithlord48/ff7tk/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sithlord48/ff7tk/issues/8/comments","events_url":"https://api.github.com/repos/sithlord48/ff7tk/issues/8/events","html_url":"https://github.com/sithlord48/ff7tk/issues/8","id":131030785,"number":8,"title":"WIN32: Data Corruption on minigw/gcc ","user":{"login":"sithlord48","id":7450820,"avatar_url":"https://avatars.githubusercontent.com/u/7450820?v=3","gravatar_id":"","url":"https://api.github.com/users/sithlord48","html_url":"https://github.com/sithlord48","followers_url":"https://api.github.com/users/sithlord48/followers","following_url":"https://api.github.com/users/sithlord48/following{/other_user}","gists_url":"https://api.github.com/users/sithlord48/gists{/gist_id}","starred_url":"https://api.github.com/users/sithlord48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithlord48/subscriptions","organizations_url":"https://api.github.com/users/sithlord48/orgs","repos_url":"https://api.github.com/users/sithlord48/repos","events_url":"https://api.github.com/users/sithlord48/events{/privacy}","received_events_url":"https://api.github.com/users/sithlord48/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sithlord48/ff7tk/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"vegetass4","id":8569200,"avatar_url":"https://avatars.githubusercontent.com/u/8569200?v=3","gravatar_id":"","url":"https://api.github.com/users/vegetass4","html_url":"https://github.com/vegetass4","followers_url":"https://api.github.com/users/vegetass4/followers","following_url":"https://api.github.com/users/vegetass4/following{/other_user}","gists_url":"https://api.github.com/users/vegetass4/gists{/gist_id}","starred_url":"https://api.github.com/users/vegetass4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vegetass4/subscriptions","organizations_url":"https://api.github.com/users/vegetass4/orgs","repos_url":"https://api.github.com/users/vegetass4/repos","events_url":"https://api.github.com/users/vegetass4/events{/privacy}","received_events_url":"https://api.github.com/users/vegetass4/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sithlord48/ff7tk/milestones/3","html_url":"https://github.com/sithlord48/ff7tk/milestones/ff7tk%20fixes%20for%20BC%20v1.10.0","labels_url":"https://api.github.com/repos/sithlord48/ff7tk/milestones/3/labels","id":1561031,"number":3,"title":"ff7tk fixes for BC v1.10.0","description":"Release after 1.9.83\r\n\r\nContains bug fixes\r\ninternal support for hidpi.","creator":{"login":"sithlord48","id":7450820,"avatar_url":"https://avatars.githubusercontent.com/u/7450820?v=3","gravatar_id":"","url":"https://api.github.com/users/sithlord48","html_url":"https://github.com/sithlord48","followers_url":"https://api.github.com/users/sithlord48/followers","following_url":"https://api.github.com/users/sithlord48/following{/other_user}","gists_url":"https://api.github.com/users/sithlord48/gists{/gist_id}","starred_url":"https://api.github.com/users/sithlord48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithlord48/subscriptions","organizations_url":"https://api.github.com/users/sithlord48/orgs","repos_url":"https://api.github.com/users/sithlord48/repos","events_url":"https://api.github.com/users/sithlord48/events{/privacy}","received_events_url":"https://api.github.com/users/sithlord48/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2016-02-03T13:43:17Z","updated_at":"2016-02-03T14:10:18Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-03T13:45:50Z","updated_at":"2016-02-03T18:58:36Z","closed_at":"2016-02-03T13:47:41Z","body":"for some reason __attribute__((packed)) is not working as expected on this platform."},"comment":{"url":"https://api.github.com/repos/sithlord48/ff7tk/issues/comments/179406267","html_url":"https://github.com/sithlord48/ff7tk/issues/8#issuecomment-179406267","issue_url":"https://api.github.com/repos/sithlord48/ff7tk/issues/8","id":179406267,"user":{"login":"myst6re","id":8015696,"avatar_url":"https://avatars.githubusercontent.com/u/8015696?v=3","gravatar_id":"","url":"https://api.github.com/users/myst6re","html_url":"https://github.com/myst6re","followers_url":"https://api.github.com/users/myst6re/followers","following_url":"https://api.github.com/users/myst6re/following{/other_user}","gists_url":"https://api.github.com/users/myst6re/gists{/gist_id}","starred_url":"https://api.github.com/users/myst6re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myst6re/subscriptions","organizations_url":"https://api.github.com/users/myst6re/orgs","repos_url":"https://api.github.com/users/myst6re/repos","events_url":"https://api.github.com/users/myst6re/events{/privacy}","received_events_url":"https://api.github.com/users/myst6re/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T18:58:36Z","updated_at":"2016-02-03T18:58:36Z","body":"I use a strange code to compact my structs for msvc and mingw:\r\n\r\n```C++\r\n#ifdef _MSC_VER\r\n#\tdefine PACK(structure)\t\t\t\\\r\n\t\t__pragma(pack(push, 1))\t\t\\\r\n\t\tstructure\t\t\t\t\t\\\r\n\t\t__pragma(pack(pop))\r\n#else\r\n#\tdefine PACK(structure) structure Q_PACKED\r\n#endif\r\n```\r\n\r\nTo use it, you need to wrap your structure:\r\n\r\n```C++\r\nPACK(\r\nstruct MyStruct\r\n{\r\n\tint foo, bar;\r\n}\r\n);\r\n```\r\n\r\nThat's a way."}}