{"action":"closed","issue":{"url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/issues/27","labels_url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/issues/27/comments","events_url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/issues/27/events","html_url":"https://github.com/DaemonDevelopers/CBSE-Toolchain/issues/27","id":74039489,"number":27,"title":"\"invalid access to non-static data member\" warning spam.","user":{"login":"Viech","id":3780206,"avatar_url":"https://avatars.githubusercontent.com/u/3780206?v=3","gravatar_id":"","url":"https://api.github.com/users/Viech","html_url":"https://github.com/Viech","followers_url":"https://api.github.com/users/Viech/followers","following_url":"https://api.github.com/users/Viech/following{/other_user}","gists_url":"https://api.github.com/users/Viech/gists{/gist_id}","starred_url":"https://api.github.com/users/Viech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Viech/subscriptions","organizations_url":"https://api.github.com/users/Viech/orgs","repos_url":"https://api.github.com/users/Viech/repos","events_url":"https://api.github.com/users/Viech/events{/privacy}","received_events_url":"https://api.github.com/users/Viech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/labels/P-Low","name":"P-Low","color":"fef2c0"},{"url":"https://api.github.com/repos/DaemonDevelopers/CBSE-Toolchain/labels/T-Cleanup","name":"T-Cleanup","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T16:07:32Z","updated_at":"2015-05-09T13:37:23Z","closed_at":"2015-05-09T13:37:23Z","body":"For every entity and every component of that entity I get a compiler warning like this:\r\n\r\n    CBSEBackend.cpp:1618: warning: invalid access to non-static data member 'BarricadeEntity::c_BarricadeComponent'  of NULL object [-Winvalid-offsetof]\r\n      myoffsetof(BarricadeEntity, c_BarricadeComponent),\r\n                                  ^\r\n    CBSEBackend.cpp:12: in definition of macro 'myoffsetof'\r\n     #define myoffsetof(st, m) static_cast<int>((size_t)(&((st *)0)->m))\r\n                                                                     ^"}}