{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2789","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2789/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2789/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2789/events","html_url":"https://github.com/arduino/Arduino/issues/2789","id":62786339,"number":2789,"title":"FTDI FT800 library not working after an update to 1.6.1","user":{"login":"BoxusES","id":11544606,"avatar_url":"https://avatars.githubusercontent.com/u/11544606?v=3","gravatar_id":"","url":"https://api.github.com/users/BoxusES","html_url":"https://github.com/BoxusES","followers_url":"https://api.github.com/users/BoxusES/followers","following_url":"https://api.github.com/users/BoxusES/following{/other_user}","gists_url":"https://api.github.com/users/BoxusES/gists{/gist_id}","starred_url":"https://api.github.com/users/BoxusES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoxusES/subscriptions","organizations_url":"https://api.github.com/users/BoxusES/orgs","repos_url":"https://api.github.com/users/BoxusES/repos","events_url":"https://api.github.com/users/BoxusES/events{/privacy}","received_events_url":"https://api.github.com/users/BoxusES/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T20:04:12Z","updated_at":"2015-04-14T10:18:11Z","closed_at":"2015-04-14T10:18:11Z","body":"The FTDI FT800 library \"FTDI_V1.2.0_09072014(FT800).zip\"  is not working well after an update of Arduino to 1.6.0 /1.6.1 (many program errors).\r\nMy program compile without any errors with the version 1.0.4.\r\nHow to correct the compile errors issue? (may be a preference setting or other)\r\nSome others libraries compile without error (rc-switch library by exemple).\r\n\r\nThank You for your assistance.\r\nRegards."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/92749123","html_url":"https://github.com/arduino/Arduino/issues/2789#issuecomment-92749123","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/2789","id":92749123,"user":{"login":"facchinm","id":8843437,"avatar_url":"https://avatars.githubusercontent.com/u/8843437?v=3","gravatar_id":"","url":"https://api.github.com/users/facchinm","html_url":"https://github.com/facchinm","followers_url":"https://api.github.com/users/facchinm/followers","following_url":"https://api.github.com/users/facchinm/following{/other_user}","gists_url":"https://api.github.com/users/facchinm/gists{/gist_id}","starred_url":"https://api.github.com/users/facchinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facchinm/subscriptions","organizations_url":"https://api.github.com/users/facchinm/orgs","repos_url":"https://api.github.com/users/facchinm/repos","events_url":"https://api.github.com/users/facchinm/events{/privacy}","received_events_url":"https://api.github.com/users/facchinm/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T10:18:11Z","updated_at":"2015-04-14T10:18:11Z","body":"Hi @BoxusES ,\r\nthe library uses some deprecated types (like `prog_char`) which need to be changed to `const char` and so on.\r\nHere is a reference https://github.com/arduino/Arduino/wiki/1.6-Frequently-Asked-Questions#errors-related-to-avr-progmem-changes that shows how to fix them\r\n\r\nGiven the important size of the library the smartest way to fix all the problems is executing the following commands in the library's directory (Linux and MACOSX only)\r\n``` bash\r\nfind . -type f -exec sed -i \"s/uchar/char/g\" {} \\;\r\nfind . -type f -exec sed -i \"s/prog_/const /g\" {} \\;\r\nfind . -type f -exec sed -i \"s/PROGMEM char/PROGMEM const char/g\" {} \\;\r\n```\r\nSome errors may still be present but they should be easily understandable (like duplicate `const` ) "}}