{"action":"created","issue":{"url":"https://api.github.com/repos/ncannasse/heaps/issues/108","labels_url":"https://api.github.com/repos/ncannasse/heaps/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/ncannasse/heaps/issues/108/comments","events_url":"https://api.github.com/repos/ncannasse/heaps/issues/108/events","html_url":"https://github.com/ncannasse/heaps/issues/108","id":98925598,"number":108,"title":"Samples fail to build for cpp target","user":{"login":"ibloat","id":1326244,"avatar_url":"https://avatars.githubusercontent.com/u/1326244?v=3","gravatar_id":"","url":"https://api.github.com/users/ibloat","html_url":"https://github.com/ibloat","followers_url":"https://api.github.com/users/ibloat/followers","following_url":"https://api.github.com/users/ibloat/following{/other_user}","gists_url":"https://api.github.com/users/ibloat/gists{/gist_id}","starred_url":"https://api.github.com/users/ibloat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibloat/subscriptions","organizations_url":"https://api.github.com/users/ibloat/orgs","repos_url":"https://api.github.com/users/ibloat/repos","events_url":"https://api.github.com/users/ibloat/events{/privacy}","received_events_url":"https://api.github.com/users/ibloat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-04T09:16:09Z","updated_at":"2015-09-03T19:42:00Z","closed_at":null,"body":"Builds of the samples for the cpp target fail on a linux host with the following error:\r\n\r\n```\r\nError: In file included from ./src/h3d/prim/RawPrimitive.cpp:7:0:\r\ninclude/h3d/BufferFlag.h:25:28: error: declaration of ‘h3d::BufferFlag h3d::BufferFlag_obj::Dynamic’ [-fpermissive]\r\n   static ::h3d::BufferFlag Dynamic;\r\n                            ^\r\nIn file included from /home/ibloat/.haxelibs/hxcpp/3,2,102/include/hxcpp.h:256:0,\r\n                 from ./src/h3d/prim/RawPrimitive.cpp:1:\r\n/home/ibloat/.haxelibs/hxcpp/3,2,102/include/Dynamic.h:14:37: error: changes meaning of ‘Dynamic’ from ‘class Dynamic’ [-fpermissive]\r\n class HXCPP_EXTERN_CLASS_ATTRIBUTES Dynamic : public hx::ObjectPtr<hx::Object>\r\n```\r\n\r\nAs expected renaming BufferFlag and TextureFlags enum 'Dynamic' to something else fixes this issue.\r\nAre you using a patched haxe/hxcpp or am I missing something else?\r\n\r\nVersions tried:\r\n* hxcpp: 3.2.102, git\r\n* heaps: git\r\n* haxe: 3.2 (official build, local build), git\r\n* gcc: 5.2.0, 5.1.0"},"comment":{"url":"https://api.github.com/repos/ncannasse/heaps/issues/comments/137554014","html_url":"https://github.com/ncannasse/heaps/issues/108#issuecomment-137554014","issue_url":"https://api.github.com/repos/ncannasse/heaps/issues/108","id":137554014,"user":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T19:42:00Z","updated_at":"2015-09-03T19:42:00Z","body":"@hughsando ping :)"}}