{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3605","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3605/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3605/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3605/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/3605","id":100256151,"number":3605,"title":"arduino_mega2560: correct uart prototypes","user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/avr","name":"avr","color":"c0c0c0"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/minor","name":"minor","color":"f7c6c7"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"N8Fear","id":1010132,"avatar_url":"https://avatars.githubusercontent.com/u/1010132?v=3","gravatar_id":"","url":"https://api.github.com/users/N8Fear","html_url":"https://github.com/N8Fear","followers_url":"https://api.github.com/users/N8Fear/followers","following_url":"https://api.github.com/users/N8Fear/following{/other_user}","gists_url":"https://api.github.com/users/N8Fear/gists{/gist_id}","starred_url":"https://api.github.com/users/N8Fear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N8Fear/subscriptions","organizations_url":"https://api.github.com/users/N8Fear/orgs","repos_url":"https://api.github.com/users/N8Fear/repos","events_url":"https://api.github.com/users/N8Fear/events{/privacy}","received_events_url":"https://api.github.com/users/N8Fear/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-11T08:23:17Z","updated_at":"2015-08-12T09:48:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3605","html_url":"https://github.com/RIOT-OS/RIOT/pull/3605","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3605.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3605.patch"},"body":"The newest version of the toolchain was complaining:\r\n```\r\n\"make\" -C /home/oleg/git/RIOT/boards/arduino-mega2560\r\nIn file included from /home/oleg/git/RIOT/boards/arduino-mega2560/board.c:21:0:\r\n/home/oleg/git/RIOT/boards/arduino-mega2560/board.c:51:45: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]\r\n static FILE uart_stdout = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);\r\n                                             ^\r\n/home/oleg/git/RIOT/boards/arduino-mega2560/board.c:51:45: note: (near initialization for 'uart_stdout.put')\r\n/home/oleg/git/RIOT/boards/arduino-mega2560/board.c:52:50: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]\r\n static FILE uart_stdin = FDEV_SETUP_STREAM(NULL, uart_getchar, _FDEV_SETUP_READ);\r\n                                                  ^\r\n/home/oleg/git/RIOT/boards/arduino-mega2560/board.c:52:50: note: (near initialization for 'uart_stdin.get')\r\n```"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/130241898","html_url":"https://github.com/RIOT-OS/RIOT/pull/3605#issuecomment-130241898","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3605","id":130241898,"user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T09:48:26Z","updated_at":"2015-08-12T09:48:26Z","body":"Travis is fine, someone cares to ACK. Otherwise Atmega is not building on (at least) `avr-gcc (GCC) 5.2.0`."}}