{"action":"created","issue":{"url":"https://api.github.com/repos/openthread/openthread/issues/825","repository_url":"https://api.github.com/repos/openthread/openthread","labels_url":"https://api.github.com/repos/openthread/openthread/issues/825/labels{/name}","comments_url":"https://api.github.com/repos/openthread/openthread/issues/825/comments","events_url":"https://api.github.com/repos/openthread/openthread/issues/825/events","html_url":"https://github.com/openthread/openthread/issues/825","id":183333137,"number":825,"title":"Failed to build OpenThread on CC2538 platform with the newer toolchain","user":{"login":"chshu","id":20312411,"avatar_url":"https://avatars.githubusercontent.com/u/20312411?v=3","gravatar_id":"","url":"https://api.github.com/users/chshu","html_url":"https://github.com/chshu","followers_url":"https://api.github.com/users/chshu/followers","following_url":"https://api.github.com/users/chshu/following{/other_user}","gists_url":"https://api.github.com/users/chshu/gists{/gist_id}","starred_url":"https://api.github.com/users/chshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshu/subscriptions","organizations_url":"https://api.github.com/users/chshu/orgs","repos_url":"https://api.github.com/users/chshu/repos","events_url":"https://api.github.com/users/chshu/events{/privacy}","received_events_url":"https://api.github.com/users/chshu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T06:13:03Z","updated_at":"2016-10-17T06:22:47Z","closed_at":null,"body":"It fails when building CC2538 platform with a newer toolchain, for example: [5-2016-q2-update](https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q2-update):\r\n\r\nBuild steps:\r\n```\r\n./bootstrap\r\nmake -f example/Makefile-cc2538\r\n```\r\n\r\nBuild failure logs:\r\n\r\n```\r\nIn file included from /home/chenshu/code/openthread/examples/../src/core/openthread.cpp:47:0:\r\n/home/chenshu/code/openthread/examples/../src/core/common/new.hpp:42:15: error: 'void operator delete(void*, size_t)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Werror=c++14-compat]\r\n void OT_CDECL operator delete(void *, size_t) throw();\r\n               ^\r\nIn file included from /home/chenshu/code/openthread/examples/../src/core/net/ip6.cpp:38:0:\r\n/home/chenshu/code/openthread/examples/../src/core/common/new.hpp:42:15: error: 'void operator delete(void*, size_t)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Werror=c++14-compat]\r\n void OT_CDECL operator delete(void *, size_t) throw();\r\n               ^\r\n/home/chenshu/code/openthread/examples/../src/core/openthread.cpp:66:15: error: 'void operator delete(void*, size_t)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Werror=c++14-compat]\r\n void OT_CDECL operator delete(void *, size_t) throw() { }\r\n```\r\n\r\nWe could build CC2538 platform with an older toolchain, for example: [4.9-2015-q3-update](https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update).\r\n"},"comment":{"url":"https://api.github.com/repos/openthread/openthread/issues/comments/254121878","html_url":"https://github.com/openthread/openthread/issues/825#issuecomment-254121878","issue_url":"https://api.github.com/repos/openthread/openthread/issues/825","id":254121878,"user":{"login":"chshu","id":20312411,"avatar_url":"https://avatars.githubusercontent.com/u/20312411?v=3","gravatar_id":"","url":"https://api.github.com/users/chshu","html_url":"https://github.com/chshu","followers_url":"https://api.github.com/users/chshu/followers","following_url":"https://api.github.com/users/chshu/following{/other_user}","gists_url":"https://api.github.com/users/chshu/gists{/gist_id}","starred_url":"https://api.github.com/users/chshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshu/subscriptions","organizations_url":"https://api.github.com/users/chshu/orgs","repos_url":"https://api.github.com/users/chshu/repos","events_url":"https://api.github.com/users/chshu/events{/privacy}","received_events_url":"https://api.github.com/users/chshu/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T06:22:47Z","updated_at":"2016-10-17T06:22:47Z","body":"@nibanks , Please help to take a look at the build issue, since it is involved with PR #767. "}}
{"actor":{"display_login":"chshu"}}