{"action":"created","issue":{"url":"https://api.github.com/repos/michaelforney/swc/issues/20","labels_url":"https://api.github.com/repos/michaelforney/swc/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/michaelforney/swc/issues/20/comments","events_url":"https://api.github.com/repos/michaelforney/swc/issues/20/events","html_url":"https://github.com/michaelforney/swc/issues/20","id":56424492,"number":20,"title":"Unable to include the header to C++ projects","user":{"login":"johan-bjareholt","id":1398500,"avatar_url":"https://avatars.githubusercontent.com/u/1398500?v=3","gravatar_id":"","url":"https://api.github.com/users/johan-bjareholt","html_url":"https://github.com/johan-bjareholt","followers_url":"https://api.github.com/users/johan-bjareholt/followers","following_url":"https://api.github.com/users/johan-bjareholt/following{/other_user}","gists_url":"https://api.github.com/users/johan-bjareholt/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-bjareholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-bjareholt/subscriptions","organizations_url":"https://api.github.com/users/johan-bjareholt/orgs","repos_url":"https://api.github.com/users/johan-bjareholt/repos","events_url":"https://api.github.com/users/johan-bjareholt/events{/privacy}","received_events_url":"https://api.github.com/users/johan-bjareholt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T19:29:37Z","updated_at":"2015-02-04T00:45:19Z","closed_at":null,"body":"This part is a huge pain\r\n\r\n    struct swc_window\r\n    {\r\n        char * title;\r\n        char * class;\r\n    \r\n        struct swc_window * parent;\r\n    };\r\n\r\nSince a variable is named \"class\", g++ get's confused and cannot include the header.\r\n\r\n    error: expected unqialified-id before 'class'\r\n        char * class;\r\n                  ^\r\n\r\nChanging the variable name however might break compability with other projects based on swc, so what should we do?\r\nIf you're ok with a variable name change, i could do the dull work of changing the variable names in the source code and make a pull request if you want."},"comment":{"url":"https://api.github.com/repos/michaelforney/swc/issues/comments/72768567","html_url":"https://github.com/michaelforney/swc/issues/20#issuecomment-72768567","issue_url":"https://api.github.com/repos/michaelforney/swc/issues/20","id":72768567,"user":{"login":"michaelforney","id":52851,"avatar_url":"https://avatars.githubusercontent.com/u/52851?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelforney","html_url":"https://github.com/michaelforney","followers_url":"https://api.github.com/users/michaelforney/followers","following_url":"https://api.github.com/users/michaelforney/following{/other_user}","gists_url":"https://api.github.com/users/michaelforney/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelforney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelforney/subscriptions","organizations_url":"https://api.github.com/users/michaelforney/orgs","repos_url":"https://api.github.com/users/michaelforney/repos","events_url":"https://api.github.com/users/michaelforney/events{/privacy}","received_events_url":"https://api.github.com/users/michaelforney/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T00:45:19Z","updated_at":"2015-02-04T00:45:19Z","body":"I would suggest changing it to \"app_id\" to match the xdg_shell protocol. The API isn't finalized yet, so feel free to send me a pull request."}}