{"action":"closed","issue":{"url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw/issues/45","repository_url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw","labels_url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw/issues/45/comments","events_url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw/issues/45/events","html_url":"https://github.com/WandererFan/FreeCAD-TechDraw/issues/45","id":145480126,"number":45,"title":"C calling conventions used for C++ objects.","user":{"login":"ianrrees","id":5280982,"avatar_url":"https://avatars.githubusercontent.com/u/5280982?v=3","gravatar_id":"","url":"https://api.github.com/users/ianrrees","html_url":"https://github.com/ianrrees","followers_url":"https://api.github.com/users/ianrrees/followers","following_url":"https://api.github.com/users/ianrrees/following{/other_user}","gists_url":"https://api.github.com/users/ianrrees/gists{/gist_id}","starred_url":"https://api.github.com/users/ianrrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianrrees/subscriptions","organizations_url":"https://api.github.com/users/ianrrees/orgs","repos_url":"https://api.github.com/users/ianrrees/repos","events_url":"https://api.github.com/users/ianrrees/events{/privacy}","received_events_url":"https://api.github.com/users/ianrrees/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WandererFan/FreeCAD-TechDraw/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-03T10:38:03Z","updated_at":"2016-05-06T12:07:42Z","closed_at":"2016-05-06T12:07:42Z","body":"I think we should clean this up in a more C++ - style way, but probably won't have time to do it for at least a week or two.\r\n\r\nfreecad-code/src/Mod/TechDraw/App/Geometry.h:225:42: warning: 'chainGeoms' has\r\n      C-linkage specified, but returns user-defined type 'std::vector<TechDrawGeometry::BaseGeom *>' which\r\n      is incompatible with C [-Wreturn-type-c-linkage]\r\n\r\nfreecad-code/src/Mod/TechDraw/App/Geometry.h:226:18: warning: 'nextGeom' has\r\n      C-linkage specified, but returns user-defined type 'TechDrawGeometry::getNextReturnVal' which is\r\n      incompatible with C [-Wreturn-type-c-linkage]"}}