{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/4496","repository_url":"https://api.github.com/repos/PX4/Firmware","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/4496/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/4496/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/4496/events","html_url":"https://github.com/PX4/Firmware/pull/4496","id":153949652,"number":4496,"title":"cmake: add -fcheck-new to cxx_compile_flags","user":{"login":"bkueng","id":281593,"avatar_url":"https://avatars.githubusercontent.com/u/281593?v=3","gravatar_id":"","url":"https://api.github.com/users/bkueng","html_url":"https://github.com/bkueng","followers_url":"https://api.github.com/users/bkueng/followers","following_url":"https://api.github.com/users/bkueng/following{/other_user}","gists_url":"https://api.github.com/users/bkueng/gists{/gist_id}","starred_url":"https://api.github.com/users/bkueng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkueng/subscriptions","organizations_url":"https://api.github.com/users/bkueng/orgs","repos_url":"https://api.github.com/users/bkueng/repos","events_url":"https://api.github.com/users/bkueng/events{/privacy}","received_events_url":"https://api.github.com/users/bkueng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-10T08:24:37Z","updated_at":"2016-05-11T05:16:05Z","closed_at":"2016-05-10T19:24:11Z","pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/4496","html_url":"https://github.com/PX4/Firmware/pull/4496","diff_url":"https://github.com/PX4/Firmware/pull/4496.diff","patch_url":"https://github.com/PX4/Firmware/pull/4496.patch"},"body":"GCC assumes that operator new never returns null, but throws an exception\r\ninstead. This is defined by the C++ standard, and thus ok. But we disable\r\nexceptions with -fno-exceptions, so we break this assumption. GCC then goes\r\nahead and removes some of our nullptr checks. This flag removes the\r\nassumption.\r\n\r\nThis adds ~1.4kB to the binary size of the px4fmu-v4 target.\r\n\r\nFixes #4493 "},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/218363858","html_url":"https://github.com/PX4/Firmware/pull/4496#issuecomment-218363858","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/4496","id":218363858,"user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T05:16:05Z","updated_at":"2016-05-11T05:16:05Z","body":"@bkueng Can you look into a fix"}}