{"action":"created","issue":{"url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/99","labels_url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/99/comments","events_url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/99/events","html_url":"https://github.com/jeaye/ncurses-rs/issues/99","id":114922369,"number":99,"title":"mismatched types error on armv7 linux","user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T22:12:29Z","updated_at":"2015-11-30T23:43:07Z","closed_at":null,"body":"Trying to compile `ncurses` using `rustc 1.5.0-dev (e518c057f 2015-10-23)` on arm as part of a [thyme](https://github.com/kattrali/thyme) build fails with: \r\n\r\n````\r\nCompiling ncurses v5.73.0\r\n     Running `rustc /home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs --crate-name ncurses --crate-type lib -C opt-level=3 --cfg feature=\\\"default\\\" --cfg feature=\\\"wide\\\" -C metadata=086a089f5500fcfb -C extra-filename=-086a089f5500fcfb --out-dir /tmp/thyme-master/target/release/deps --emit=dep-info,link -L dependency=/tmp/thyme-master/target/release/deps -L dependency=/tmp/thyme-master/target/release/deps --extern libc=/tmp/thyme-master/target/release/deps/liblibc-ba87e8a144a58f65.rlib --cap-lints allow`\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:43:40: 43:41 error: mismatched types:\r\n expected `*const i8`,\r\n    found `*const u8`\r\n(expected i8,\r\n    found u8) [E0308]\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:43             let bytes = CStr::from_ptr(s).to_bytes();\r\n ````\r\n.\r\n.\r\n.\r\n.\r\n````                                                                                                                                    ^\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:43:40: 43:41 help: run `rustc --explain E0308` to see a detailed explanation\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:1546:27: 1546:48 error: mismatched types:\r\n expected `*const u8`,\r\n    found `*const i8`\r\n(expected u8,\r\n    found i8) [E0308]\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:1546 { unsafe { ll::wprintw(w, s.to_c_str().as_ptr()) } }\r\n                                                                                                                          ^~~~~~~~~~~~~~~~~~~~~\r\n/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/ncurses-5.73.0/src/ncurses.rs:1546:27: 1546:48 help: run `rustc --explain E0308` to see a detailed explanation\r\n\r\nerror: aborting due to 25 previous errors\r\nCould not compile `ncurses`.\r\n````\r\n\r\nIs this related to the recent libc crate update? (0.2)"},"comment":{"url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/comments/160800163","html_url":"https://github.com/jeaye/ncurses-rs/issues/99#issuecomment-160800163","issue_url":"https://api.github.com/repos/jeaye/ncurses-rs/issues/99","id":160800163,"user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T23:43:07Z","updated_at":"2015-11-30T23:43:07Z","body":"https://github.com/jeaye/ncurses-rs/pull/100"}}