{"action":"created","issue":{"url":"https://api.github.com/repos/sledorze/Parsex/issues/7","labels_url":"https://api.github.com/repos/sledorze/Parsex/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/sledorze/Parsex/issues/7/comments","events_url":"https://api.github.com/repos/sledorze/Parsex/issues/7/events","html_url":"https://github.com/sledorze/Parsex/issues/7","id":79657029,"number":7,"title":"Duplicate \"_and\" functions defined in compiled C++ files.","user":{"login":"SethSR","id":7788970,"avatar_url":"https://avatars.githubusercontent.com/u/7788970?v=3","gravatar_id":"","url":"https://api.github.com/users/SethSR","html_url":"https://github.com/SethSR","followers_url":"https://api.github.com/users/SethSR/followers","following_url":"https://api.github.com/users/SethSR/following{/other_user}","gists_url":"https://api.github.com/users/SethSR/gists{/gist_id}","starred_url":"https://api.github.com/users/SethSR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethSR/subscriptions","organizations_url":"https://api.github.com/users/SethSR/orgs","repos_url":"https://api.github.com/users/SethSR/repos","events_url":"https://api.github.com/users/SethSR/events{/privacy}","received_events_url":"https://api.github.com/users/SethSR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-22T23:45:17Z","updated_at":"2015-05-23T09:36:09Z","closed_at":"2015-05-23T09:24:39Z","body":"Testing with a single file: Main.hx\r\n````haxe\r\nimport com.mindrocks.text.Parser;\r\nclass Main {\r\n  static public function main() {\r\n    trace ('Hello world');\r\n  }\r\n}\r\n```\r\nWhen I compile with: \"haxe -lib Parsex -main Main.hx -cpp bin\", I get the following:\r\n```cpp\r\ninclude\\Parsers.h(84) : error C2535: 'Dynamic Parsers_obj::_and(Dynamic,Dynamic)' : member function already defined or declared\r\ninclude\\Parsers.h(78) : see declaration of 'Parsers_obj::_and'\r\ninclude\\Parsers.h(85) : error C2535: 'Dynamic Parsers_obj::_and_dyn(void)' : member function already defined or declared\r\ninclude\\Parsers.h(79) : see declaration of 'Parsers_obj::_and_dyn'\r\n./src/Parsers.cpp(1032) : error C2084: function 'Dynamic Parsers_obj::_and(Dynamic,Dynamic)' already has a body\r\n\r\ninclude\\Parsers.h(78) : see previous definition of '_and'\r\n./src/Parsers.cpp(1041) : error C2084: function 'Dynamic __Parsers_obj_and(const Dynamic &,const Dynamic &)' already has a body\r\n./src/Parsers.cpp(1019) : see previous definition of '__Parsers_obj_and'\r\n./src/Parsers.cpp(1041) : error C2084: function 'Dynamic Parsers_obj::_and_dyn(void)' already has a body\r\ninclude\\Parsers.h(79) : see previous definition of '_and_dyn'\r\n```"},"comment":{"url":"https://api.github.com/repos/sledorze/Parsex/issues/comments/104874695","html_url":"https://github.com/sledorze/Parsex/issues/7#issuecomment-104874695","issue_url":"https://api.github.com/repos/sledorze/Parsex/issues/7","id":104874695,"user":{"login":"sledorze","id":416760,"avatar_url":"https://avatars.githubusercontent.com/u/416760?v=3","gravatar_id":"","url":"https://api.github.com/users/sledorze","html_url":"https://github.com/sledorze","followers_url":"https://api.github.com/users/sledorze/followers","following_url":"https://api.github.com/users/sledorze/following{/other_user}","gists_url":"https://api.github.com/users/sledorze/gists{/gist_id}","starred_url":"https://api.github.com/users/sledorze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledorze/subscriptions","organizations_url":"https://api.github.com/users/sledorze/orgs","repos_url":"https://api.github.com/users/sledorze/repos","events_url":"https://api.github.com/users/sledorze/events{/privacy}","received_events_url":"https://api.github.com/users/sledorze/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T09:36:09Z","updated_at":"2015-05-23T09:36:09Z","body":"CPP generation issue reported here HaxeFoundation/haxe#4246"}}