{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3107","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3107/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3107/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3107/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/3107","id":82200827,"number":3107,"title":"c++: Define some support functions required by GCC","user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/C++","name":"C++","color":"006b75"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/WIP","name":"WIP","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"josephnoir","id":2156518,"avatar_url":"https://avatars.githubusercontent.com/u/2156518?v=3","gravatar_id":"","url":"https://api.github.com/users/josephnoir","html_url":"https://github.com/josephnoir","followers_url":"https://api.github.com/users/josephnoir/followers","following_url":"https://api.github.com/users/josephnoir/following{/other_user}","gists_url":"https://api.github.com/users/josephnoir/gists{/gist_id}","starred_url":"https://api.github.com/users/josephnoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephnoir/subscriptions","organizations_url":"https://api.github.com/users/josephnoir/orgs","repos_url":"https://api.github.com/users/josephnoir/repos","events_url":"https://api.github.com/users/josephnoir/events{/privacy}","received_events_url":"https://api.github.com/users/josephnoir/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-05-29T01:19:06Z","updated_at":"2015-05-29T14:01:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3107","html_url":"https://github.com/RIOT-OS/RIOT/pull/3107","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3107.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3107.patch"},"body":"GCC needs a definition of `void *__dso_handle = NULL;` to handle global constructors. In order to use virtual functions there has to exist a definition of a fallback function when calling pure virtual functions to signal the error. This PR adds a new file `cppsupport.cpp` inside `sys/cpp11-compat` for providing these symbols.\r\n\r\nTODO: also provide an implementation of `new` and `delete` for dynamic creation of objects."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/106813698","html_url":"https://github.com/RIOT-OS/RIOT/pull/3107#issuecomment-106813698","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3107","id":106813698,"user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T14:01:23Z","updated_at":"2015-05-29T14:01:23Z","body":"It does however not solve the problem if any users try to use C++ atomics"}}