{"action":"created","issue":{"url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/224","repository_url":"https://api.github.com/repos/prusa3d/Prusa-Firmware","labels_url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/224/comments","events_url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/224/events","html_url":"https://github.com/prusa3d/Prusa-Firmware/issues/224","id":263180717,"number":224,"title":"Issue: Compiling 3.1.0 RC1 results in errors","user":{"login":"madhunm","id":4202565,"avatar_url":"https://avatars3.githubusercontent.com/u/4202565?v=4","gravatar_id":"","url":"https://api.github.com/users/madhunm","html_url":"https://github.com/madhunm","followers_url":"https://api.github.com/users/madhunm/followers","following_url":"https://api.github.com/users/madhunm/following{/other_user}","gists_url":"https://api.github.com/users/madhunm/gists{/gist_id}","starred_url":"https://api.github.com/users/madhunm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhunm/subscriptions","organizations_url":"https://api.github.com/users/madhunm/orgs","repos_url":"https://api.github.com/users/madhunm/repos","events_url":"https://api.github.com/users/madhunm/events{/privacy}","received_events_url":"https://api.github.com/users/madhunm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-10-05T16:03:51Z","updated_at":"2017-10-07T15:07:29Z","closed_at":null,"author_association":"NONE","body":"Compiling the firmware as is results in this error:\r\n\r\n> Marlin_main.cpp:5967: error: ISO C++ forbids declaration of 'update_currents' with no type [-fpermissive]\r\n> update_currents() {\r\n>                 ^\r\n>exit status 1\r\n>ISO C++ forbids declaration of 'update_currents' with no type [-fpermissive]\r\n>\r\n\r\nDeclaring this update_currents() function as void results in:\r\n\r\n>In function 'void lcd_calibration_menu()':\r\n>ultralcd.cpp:258: error: invalid conversion from 'bool (*)()' to 'menuFunc_t {aka void (*)()}' [-fpermissive]\r\n>         menu_action_ ## type ( args ); \\\r\n>                                    ^\r\n>ultralcd.cpp:3478:5: note: in expansion of macro 'MENU_ITEM'\r\n>     MENU_ITEM(function, MSG_SELFTEST, lcd_selftest);\r\n>     ^\r\n>ultralcd.cpp:192: error: initializing argument 1 of 'void menu_action_function(menuFunc_t)' [-fpermissive]\r\n> static void menu_action_function(menuFunc_t data);\r\n>             ^\r\n>ultralcd.cpp: In function 'bool check_file(const char*)':\r\n>ultralcd.cpp:5781: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]\r\n>  card.openFile(filename, true);\r\n>                              ^\r\n>In file included from ultralcd.cpp:6:0:\r\n>cardreader.h:23: error: initializing argument 1 of 'void CardReader::openFile(char*, bool, bool)' [-fpermissive]\r\n>void openFile(char* name,bool read,bool replace_current=true);\r\n>        ^\r\n>exit status 1\r\n>invalid conversion from 'bool (*)()' to 'menuFunc_t {aka void (*)()}' [-fpermissive]\r\n"},"comment":{"url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/comments/334941564","html_url":"https://github.com/prusa3d/Prusa-Firmware/issues/224#issuecomment-334941564","issue_url":"https://api.github.com/repos/prusa3d/Prusa-Firmware/issues/224","id":334941564,"user":{"login":"macfly1202","id":6387630,"avatar_url":"https://avatars2.githubusercontent.com/u/6387630?v=4","gravatar_id":"","url":"https://api.github.com/users/macfly1202","html_url":"https://github.com/macfly1202","followers_url":"https://api.github.com/users/macfly1202/followers","following_url":"https://api.github.com/users/macfly1202/following{/other_user}","gists_url":"https://api.github.com/users/macfly1202/gists{/gist_id}","starred_url":"https://api.github.com/users/macfly1202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macfly1202/subscriptions","organizations_url":"https://api.github.com/users/macfly1202/orgs","repos_url":"https://api.github.com/users/macfly1202/repos","events_url":"https://api.github.com/users/macfly1202/events{/privacy}","received_events_url":"https://api.github.com/users/macfly1202/received_events","type":"User","site_admin":false},"created_at":"2017-10-07T15:07:29Z","updated_at":"2017-10-07T15:07:29Z","author_association":"NONE","body":"Thanks Thess for comments - I try to merge your pull request https://github.com/prusa3d/Prusa-Firmware/pull/220/commits/7256ffb4b8739fb07d35f1e457701ffe040949c2 but without success due to the fact that 'removal warning was a later commit'. Just make a try to see if OK and it wasn't :  haven't not much time today... Will retry tomorrow... "}}
{"actor":{"display_login":"macfly1202"}}