{"action":"created","issue":{"url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/319","repository_url":"https://api.github.com/repos/chipKIT32/chipKIT-core","labels_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/319/comments","events_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/319/events","html_url":"https://github.com/chipKIT32/chipKIT-core/issues/319","id":193931264,"number":319,"title":"Unable to use \"int main()\" on chipkit boards","user":{"login":"mskoczen","id":2278274,"avatar_url":"https://avatars.githubusercontent.com/u/2278274?v=3","gravatar_id":"","url":"https://api.github.com/users/mskoczen","html_url":"https://github.com/mskoczen","followers_url":"https://api.github.com/users/mskoczen/followers","following_url":"https://api.github.com/users/mskoczen/following{/other_user}","gists_url":"https://api.github.com/users/mskoczen/gists{/gist_id}","starred_url":"https://api.github.com/users/mskoczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mskoczen/subscriptions","organizations_url":"https://api.github.com/users/mskoczen/orgs","repos_url":"https://api.github.com/users/mskoczen/repos","events_url":"https://api.github.com/users/mskoczen/events{/privacy}","received_events_url":"https://api.github.com/users/mskoczen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-07T01:10:24Z","updated_at":"2016-12-07T20:49:09Z","closed_at":null,"body":"In mpide a few versions ago you could bypass a lot of the core functions, (increase execution speed / reduce code size), by calling int main() instead of setup and loop. This still works for arduino boards but when I try a chipkit board I get an error.\r\n\r\n[sketch_test.txt](https://github.com/chipKIT32/chipKIT-core/files/635425/sketch_test.txt)\r\n\r\nc:\\users\\username\\appdata\\local\\arduino15\\packages\\chipkit\\tools\\pic32-tools\\1.42-pic32gcc\\bin\\bin\\gcc\\pic32mx\\4.8.3\\..\\..\\..\\..\\bin/pic32-ld.exe: MPIDE Version not specfied correctly\r\n\r\nc:\\users\\username\\appdata\\local\\arduino15\\packages\\chipkit\\tools\\pic32-tools\\1.42-pic32gcc\\bin\\bin\\gcc\\pic32mx\\4.8.3\\..\\..\\..\\..\\bin/pic32-ld.exe: Link terminated due to previous error(s).\r\n\r\ncollect2.exe: error: ld returned 255 exit status\r\n\r\nexit status 255\r\nError compiling."},"comment":{"url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/comments/265568998","html_url":"https://github.com/chipKIT32/chipKIT-core/issues/319#issuecomment-265568998","issue_url":"https://api.github.com/repos/chipKIT32/chipKIT-core/issues/319","id":265568998,"user":{"login":"JacobChrist","id":198251,"avatar_url":"https://avatars.githubusercontent.com/u/198251?v=3","gravatar_id":"","url":"https://api.github.com/users/JacobChrist","html_url":"https://github.com/JacobChrist","followers_url":"https://api.github.com/users/JacobChrist/followers","following_url":"https://api.github.com/users/JacobChrist/following{/other_user}","gists_url":"https://api.github.com/users/JacobChrist/gists{/gist_id}","starred_url":"https://api.github.com/users/JacobChrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacobChrist/subscriptions","organizations_url":"https://api.github.com/users/JacobChrist/orgs","repos_url":"https://api.github.com/users/JacobChrist/repos","events_url":"https://api.github.com/users/JacobChrist/events{/privacy}","received_events_url":"https://api.github.com/users/JacobChrist/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T20:49:09Z","updated_at":"2016-12-07T20:49:09Z","body":"Weather this is fix or not now, I think we should leave this issue open until fixed since it highlights a difference between Arduino and chipKIT.\r\n"}}
{"actor":{"display_login":"JacobChrist"}}