{"action":"opened","number":625,"pull_request":{"url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625","id":188483492,"html_url":"https://github.com/SuperHouse/esp-open-rtos/pull/625","diff_url":"https://github.com/SuperHouse/esp-open-rtos/pull/625.diff","patch_url":"https://github.com/SuperHouse/esp-open-rtos/pull/625.patch","issue_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/625","number":625,"state":"open","locked":false,"title":"Improved C++ support, support C++ exceptions","user":{"login":"joostn","id":1309157,"avatar_url":"https://avatars0.githubusercontent.com/u/1309157?v=4","gravatar_id":"","url":"https://api.github.com/users/joostn","html_url":"https://github.com/joostn","followers_url":"https://api.github.com/users/joostn/followers","following_url":"https://api.github.com/users/joostn/following{/other_user}","gists_url":"https://api.github.com/users/joostn/gists{/gist_id}","starred_url":"https://api.github.com/users/joostn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostn/subscriptions","organizations_url":"https://api.github.com/users/joostn/orgs","repos_url":"https://api.github.com/users/joostn/repos","events_url":"https://api.github.com/users/joostn/events{/privacy}","received_events_url":"https://api.github.com/users/joostn/received_events","type":"User","site_admin":false},"body":"These patches make it possible to link against libstdc++, and use C++ exceptions.\r\n\r\nTo use c++ exceptions, build a gcc 5.2.0 toolchain from https://github.com/espressif/crosstool-NG\r\nwith -fexceptions and -frtti enabled. You can use my build script for mac:\r\n[buildtoolchain.sh.zip](https://github.com/SuperHouse/esp-open-rtos/files/2009884/buildtoolchain.sh.zip)\r\n\r\nAdd the following startup code to your application:\r\n```\r\nstruct register_frame_info_object { long placeholder[ 10 ]; };\r\nextern \"C\" void __register_frame_info (const void *begin, struct register_frame_info_object *ob);\r\nextern char __eh_frame[];\r\n\r\nextern \"C\" void user_init()\r\n{\r\n\tstatic struct register_frame_info_object ob;\r\n\t__register_frame_info( __eh_frame, &ob );\r\n\r\n[...]\r\n}\r\n\r\n```\r\nMore info: \r\nhttps://github.com/jcmvbkbc/crosstool-NG/issues/54\r\nhttps://github.com/espressif/esp-idf/issues/459\r\nhttps://github.com/SuperHouse/esp-open-rtos/issues/623\r\n","created_at":"2018-05-16T16:03:40Z","updated_at":"2018-05-16T16:03:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625/commits","review_comments_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625/comments","review_comment_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/625/comments","statuses_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/statuses/2985d1d11ef28804fb1777e147aeefc2b7e5f8ca","head":{"label":"joostn:jn_cpp1","ref":"jn_cpp1","sha":"2985d1d11ef28804fb1777e147aeefc2b7e5f8ca","user":{"login":"joostn","id":1309157,"avatar_url":"https://avatars0.githubusercontent.com/u/1309157?v=4","gravatar_id":"","url":"https://api.github.com/users/joostn","html_url":"https://github.com/joostn","followers_url":"https://api.github.com/users/joostn/followers","following_url":"https://api.github.com/users/joostn/following{/other_user}","gists_url":"https://api.github.com/users/joostn/gists{/gist_id}","starred_url":"https://api.github.com/users/joostn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostn/subscriptions","organizations_url":"https://api.github.com/users/joostn/orgs","repos_url":"https://api.github.com/users/joostn/repos","events_url":"https://api.github.com/users/joostn/events{/privacy}","received_events_url":"https://api.github.com/users/joostn/received_events","type":"User","site_admin":false},"repo":{"id":133686673,"name":"esp-open-rtos","full_name":"joostn/esp-open-rtos","owner":{"login":"joostn","id":1309157,"avatar_url":"https://avatars0.githubusercontent.com/u/1309157?v=4","gravatar_id":"","url":"https://api.github.com/users/joostn","html_url":"https://github.com/joostn","followers_url":"https://api.github.com/users/joostn/followers","following_url":"https://api.github.com/users/joostn/following{/other_user}","gists_url":"https://api.github.com/users/joostn/gists{/gist_id}","starred_url":"https://api.github.com/users/joostn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostn/subscriptions","organizations_url":"https://api.github.com/users/joostn/orgs","repos_url":"https://api.github.com/users/joostn/repos","events_url":"https://api.github.com/users/joostn/events{/privacy}","received_events_url":"https://api.github.com/users/joostn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joostn/esp-open-rtos","description":"Open source FreeRTOS-based ESP8266 software framework","fork":true,"url":"https://api.github.com/repos/joostn/esp-open-rtos","forks_url":"https://api.github.com/repos/joostn/esp-open-rtos/forks","keys_url":"https://api.github.com/repos/joostn/esp-open-rtos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joostn/esp-open-rtos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joostn/esp-open-rtos/teams","hooks_url":"https://api.github.com/repos/joostn/esp-open-rtos/hooks","issue_events_url":"https://api.github.com/repos/joostn/esp-open-rtos/issues/events{/number}","events_url":"https://api.github.com/repos/joostn/esp-open-rtos/events","assignees_url":"https://api.github.com/repos/joostn/esp-open-rtos/assignees{/user}","branches_url":"https://api.github.com/repos/joostn/esp-open-rtos/branches{/branch}","tags_url":"https://api.github.com/repos/joostn/esp-open-rtos/tags","blobs_url":"https://api.github.com/repos/joostn/esp-open-rtos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joostn/esp-open-rtos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joostn/esp-open-rtos/git/refs{/sha}","trees_url":"https://api.github.com/repos/joostn/esp-open-rtos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joostn/esp-open-rtos/statuses/{sha}","languages_url":"https://api.github.com/repos/joostn/esp-open-rtos/languages","stargazers_url":"https://api.github.com/repos/joostn/esp-open-rtos/stargazers","contributors_url":"https://api.github.com/repos/joostn/esp-open-rtos/contributors","subscribers_url":"https://api.github.com/repos/joostn/esp-open-rtos/subscribers","subscription_url":"https://api.github.com/repos/joostn/esp-open-rtos/subscription","commits_url":"https://api.github.com/repos/joostn/esp-open-rtos/commits{/sha}","git_commits_url":"https://api.github.com/repos/joostn/esp-open-rtos/git/commits{/sha}","comments_url":"https://api.github.com/repos/joostn/esp-open-rtos/comments{/number}","issue_comment_url":"https://api.github.com/repos/joostn/esp-open-rtos/issues/comments{/number}","contents_url":"https://api.github.com/repos/joostn/esp-open-rtos/contents/{+path}","compare_url":"https://api.github.com/repos/joostn/esp-open-rtos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joostn/esp-open-rtos/merges","archive_url":"https://api.github.com/repos/joostn/esp-open-rtos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joostn/esp-open-rtos/downloads","issues_url":"https://api.github.com/repos/joostn/esp-open-rtos/issues{/number}","pulls_url":"https://api.github.com/repos/joostn/esp-open-rtos/pulls{/number}","milestones_url":"https://api.github.com/repos/joostn/esp-open-rtos/milestones{/number}","notifications_url":"https://api.github.com/repos/joostn/esp-open-rtos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joostn/esp-open-rtos/labels{/name}","releases_url":"https://api.github.com/repos/joostn/esp-open-rtos/releases{/id}","deployments_url":"https://api.github.com/repos/joostn/esp-open-rtos/deployments","created_at":"2018-05-16T15:27:10Z","updated_at":"2018-05-16T15:27:14Z","pushed_at":"2018-05-16T15:56:23Z","git_url":"git://github.com/joostn/esp-open-rtos.git","ssh_url":"git@github.com:joostn/esp-open-rtos.git","clone_url":"https://github.com/joostn/esp-open-rtos.git","svn_url":"https://github.com/joostn/esp-open-rtos","homepage":null,"size":21590,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SuperHouse:master","ref":"master","sha":"5830e001cf54378f657d5fabadc1d3f3e050b9d1","user":{"login":"SuperHouse","id":11762865,"avatar_url":"https://avatars3.githubusercontent.com/u/11762865?v=4","gravatar_id":"","url":"https://api.github.com/users/SuperHouse","html_url":"https://github.com/SuperHouse","followers_url":"https://api.github.com/users/SuperHouse/followers","following_url":"https://api.github.com/users/SuperHouse/following{/other_user}","gists_url":"https://api.github.com/users/SuperHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperHouse/subscriptions","organizations_url":"https://api.github.com/users/SuperHouse/orgs","repos_url":"https://api.github.com/users/SuperHouse/repos","events_url":"https://api.github.com/users/SuperHouse/events{/privacy}","received_events_url":"https://api.github.com/users/SuperHouse/received_events","type":"Organization","site_admin":false},"repo":{"id":36720532,"name":"esp-open-rtos","full_name":"SuperHouse/esp-open-rtos","owner":{"login":"SuperHouse","id":11762865,"avatar_url":"https://avatars3.githubusercontent.com/u/11762865?v=4","gravatar_id":"","url":"https://api.github.com/users/SuperHouse","html_url":"https://github.com/SuperHouse","followers_url":"https://api.github.com/users/SuperHouse/followers","following_url":"https://api.github.com/users/SuperHouse/following{/other_user}","gists_url":"https://api.github.com/users/SuperHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperHouse/subscriptions","organizations_url":"https://api.github.com/users/SuperHouse/orgs","repos_url":"https://api.github.com/users/SuperHouse/repos","events_url":"https://api.github.com/users/SuperHouse/events{/privacy}","received_events_url":"https://api.github.com/users/SuperHouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SuperHouse/esp-open-rtos","description":"Open source FreeRTOS-based ESP8266 software framework","fork":false,"url":"https://api.github.com/repos/SuperHouse/esp-open-rtos","forks_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/forks","keys_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/teams","hooks_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/hooks","issue_events_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/events{/number}","events_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/events","assignees_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/assignees{/user}","branches_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/branches{/branch}","tags_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/tags","blobs_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/git/refs{/sha}","trees_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/statuses/{sha}","languages_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/languages","stargazers_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/stargazers","contributors_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/contributors","subscribers_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/subscribers","subscription_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/subscription","commits_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/commits{/sha}","git_commits_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/git/commits{/sha}","comments_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/comments{/number}","issue_comment_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/comments{/number}","contents_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/contents/{+path}","compare_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/merges","archive_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/downloads","issues_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues{/number}","pulls_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls{/number}","milestones_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/milestones{/number}","notifications_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/labels{/name}","releases_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/releases{/id}","deployments_url":"https://api.github.com/repos/SuperHouse/esp-open-rtos/deployments","created_at":"2015-06-02T08:52:21Z","updated_at":"2018-05-15T20:04:27Z","pushed_at":"2018-05-05T03:02:26Z","git_url":"git://github.com/SuperHouse/esp-open-rtos.git","ssh_url":"git@github.com:SuperHouse/esp-open-rtos.git","clone_url":"https://github.com/SuperHouse/esp-open-rtos.git","svn_url":"https://github.com/SuperHouse/esp-open-rtos","homepage":null,"size":21590,"stargazers_count":818,"watchers_count":818,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":292,"mirror_url":null,"archived":false,"open_issues_count":147,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":292,"open_issues":147,"watchers":818,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625"},"html":{"href":"https://github.com/SuperHouse/esp-open-rtos/pull/625"},"issue":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/625"},"comments":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/issues/625/comments"},"review_comments":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625/comments"},"review_comment":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/pulls/625/commits"},"statuses":{"href":"https://api.github.com/repos/SuperHouse/esp-open-rtos/statuses/2985d1d11ef28804fb1777e147aeefc2b7e5f8ca"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":14,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"joostn"}}