{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/readr/issues/139","labels_url":"https://api.github.com/repos/hadley/readr/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/hadley/readr/issues/139/comments","events_url":"https://api.github.com/repos/hadley/readr/issues/139/events","html_url":"https://github.com/hadley/readr/issues/139","id":69173468,"number":139,"title":"Compilation error - iconv","user":{"login":"rohlfs","id":9386866,"avatar_url":"https://avatars.githubusercontent.com/u/9386866?v=3","gravatar_id":"","url":"https://api.github.com/users/rohlfs","html_url":"https://github.com/rohlfs","followers_url":"https://api.github.com/users/rohlfs/followers","following_url":"https://api.github.com/users/rohlfs/following{/other_user}","gists_url":"https://api.github.com/users/rohlfs/gists{/gist_id}","starred_url":"https://api.github.com/users/rohlfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohlfs/subscriptions","organizations_url":"https://api.github.com/users/rohlfs/orgs","repos_url":"https://api.github.com/users/rohlfs/repos","events_url":"https://api.github.com/users/rohlfs/events{/privacy}","received_events_url":"https://api.github.com/users/rohlfs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-17T16:39:13Z","updated_at":"2015-07-09T18:17:13Z","closed_at":"2015-07-09T18:17:13Z","body":"I could not compile the package:\r\nuname -a\r\nFreeBSD  9.2-RELEASE-p3 amd64\r\n\r\ninstall.package(\"readr\")\r\n\r\nIn file included from DateTimeLocale.h:5:0,\r\n                 from DateTime.h:6,\r\n                 from CollectorDateTime.h:6,\r\n                 from Collector.cpp:13:\r\nIconv.h: In member function 'std::string Iconv::convert(std::string)':\r\nIconv.h:47:73: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]\r\n     size_t res = iconv(cd_, &inbuf, &inbytesleft, &outbuf, &outbytesleft);\r\n                                                                         ^\r\nIn file included from Iconv.h:4:0,\r\n                 from DateTimeLocale.h:5,\r\n                 from DateTime.h:6,\r\n                 from CollectorDateTime.h:6,\r\n                 from Collector.cpp:13:\r\n/usr/local/include/iconv.h:83:15: error:   initializing argument 2 of 'size_t libiconv(libiconv_t, const char**, size_t*, char**, size_t*)' [-fpermissive]\r\n extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, cha\r\n               ^\r\n/usr/local/lib/R/etc/Makeconf:129: recipe for target 'Collector.o' failed\r\ngmake: *** [Collector.o] Error 1\r\nERROR: compilation failed for package 'readr'\r\n"},"comment":{"url":"https://api.github.com/repos/hadley/readr/issues/comments/120092966","html_url":"https://github.com/hadley/readr/issues/139#issuecomment-120092966","issue_url":"https://api.github.com/repos/hadley/readr/issues/139","id":120092966,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T18:17:13Z","updated_at":"2015-07-09T18:17:13Z","body":"Duplicate of #149"}}