{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/134","labels_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/134/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/134/events","html_url":"https://github.com/ARMmbed/mbed-drivers/issues/134","id":122239474,"number":134,"title":"mbed-drivers - error missing cstddef","user":{"login":"0xc0170","id":2963726,"avatar_url":"https://avatars.githubusercontent.com/u/2963726?v=3","gravatar_id":"","url":"https://api.github.com/users/0xc0170","html_url":"https://github.com/0xc0170","followers_url":"https://api.github.com/users/0xc0170/followers","following_url":"https://api.github.com/users/0xc0170/following{/other_user}","gists_url":"https://api.github.com/users/0xc0170/gists{/gist_id}","starred_url":"https://api.github.com/users/0xc0170/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xc0170/subscriptions","organizations_url":"https://api.github.com/users/0xc0170/orgs","repos_url":"https://api.github.com/users/0xc0170/repos","events_url":"https://api.github.com/users/0xc0170/events{/privacy}","received_events_url":"https://api.github.com/users/0xc0170/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/mbed-drivers/labels/mirrored","name":"mirrored","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-15T10:24:24Z","updated_at":"2016-01-08T16:17:34Z","closed_at":null,"body":"This is the line which fails to build for some users when using ubuntu, or even on macs. \r\n\r\nFound reported in various places, various \"fixes-\" but all seemed to be effective, here are some references: \r\nhttp://forums.mbed.com/t/yotta-on-raspberry-pi-2/842/2 (reported with yotta + mbed OS)\r\nhttps://github.com/tmk/tmk_keyboard/issues/212 (mbed 2 sdk, but same error with the same header, provides some additional information)\r\nhttps://developer.mbed.org/forum/mbed/topic/5205 (I saw this first time back in 2014 in this thread)\r\n\r\n@jaustin Any pointers?"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/comments/170044661","html_url":"https://github.com/ARMmbed/mbed-drivers/issues/134#issuecomment-170044661","issue_url":"https://api.github.com/repos/ARMmbed/mbed-drivers/issues/134","id":170044661,"user":{"login":"bogdanm","id":211717,"avatar_url":"https://avatars.githubusercontent.com/u/211717?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanm","html_url":"https://github.com/bogdanm","followers_url":"https://api.github.com/users/bogdanm/followers","following_url":"https://api.github.com/users/bogdanm/following{/other_user}","gists_url":"https://api.github.com/users/bogdanm/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanm/subscriptions","organizations_url":"https://api.github.com/users/bogdanm/orgs","repos_url":"https://api.github.com/users/bogdanm/repos","events_url":"https://api.github.com/users/bogdanm/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanm/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T16:17:34Z","updated_at":"2016-01-08T16:17:34Z","body":"This looks indeed like a toolchain issue. I'd like to try replacing `#include <cstddef>` with '#include <stddef.h>` and see if that does any good, but I don't know how to reproduce the problem on my machine. Suggestions welcome."}}