{"action":"created","issue":{"url":"https://api.github.com/repos/hone/mruby-cli/issues/31","labels_url":"https://api.github.com/repos/hone/mruby-cli/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/hone/mruby-cli/issues/31/comments","events_url":"https://api.github.com/repos/hone/mruby-cli/issues/31/events","html_url":"https://github.com/hone/mruby-cli/issues/31","id":119633400,"number":31,"title":"Can't build windows binaries","user":{"login":"kjunichi","id":2083826,"avatar_url":"https://avatars.githubusercontent.com/u/2083826?v=3","gravatar_id":"","url":"https://api.github.com/users/kjunichi","html_url":"https://github.com/kjunichi","followers_url":"https://api.github.com/users/kjunichi/followers","following_url":"https://api.github.com/users/kjunichi/following{/other_user}","gists_url":"https://api.github.com/users/kjunichi/gists{/gist_id}","starred_url":"https://api.github.com/users/kjunichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjunichi/subscriptions","organizations_url":"https://api.github.com/users/kjunichi/orgs","repos_url":"https://api.github.com/users/kjunichi/repos","events_url":"https://api.github.com/users/kjunichi/events{/privacy}","received_events_url":"https://api.github.com/users/kjunichi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hone/mruby-cli/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/hone/mruby-cli/labels/upstream","name":"upstream","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"zzak","id":277819,"avatar_url":"https://avatars.githubusercontent.com/u/277819?v=3","gravatar_id":"","url":"https://api.github.com/users/zzak","html_url":"https://github.com/zzak","followers_url":"https://api.github.com/users/zzak/followers","following_url":"https://api.github.com/users/zzak/following{/other_user}","gists_url":"https://api.github.com/users/zzak/gists{/gist_id}","starred_url":"https://api.github.com/users/zzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzak/subscriptions","organizations_url":"https://api.github.com/users/zzak/orgs","repos_url":"https://api.github.com/users/zzak/repos","events_url":"https://api.github.com/users/zzak/events{/privacy}","received_events_url":"https://api.github.com/users/zzak/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-01T03:23:05Z","updated_at":"2015-12-01T03:38:10Z","closed_at":null,"body":"Hi, mruby-cli is great!\r\n\r\nBut, I've got following errors.\r\n\r\n```\r\nCC    build/mrbgems/mruby-io/src/io.c -> build/x86_64-w64-mingw32/mrbgems/mruby-io/src/io.o\r\n/home/mruby/code/mruby/build/mrbgems/mruby-io/src/io.c: In function 'mrb_cloexec_pipe':\r\n/home/mruby/code/mruby/build/mrbgems/mruby-io/src/io.c:156:3: error: implicit declaration of function 'pipe' [-Werror=implicit-function-declaration]\r\n   ret = pipe(fildes);\r\n   ^\r\ncc1: some warnings being treated as errors\r\n```\r\nit seems that mingw-w64 compiler is more strict for declaration check.\r\n\r\nI found work around :\r\n\r\n```rb\r\n# spec.add_dependency 'mruby-mtest', :mgem => 'mruby-mtest'\r\n```\r\n\r\nbut, this is wrong.\r\nwe have no test.\r\n\r\nthanks."},"comment":{"url":"https://api.github.com/repos/hone/mruby-cli/issues/comments/160842863","html_url":"https://github.com/hone/mruby-cli/issues/31#issuecomment-160842863","issue_url":"https://api.github.com/repos/hone/mruby-cli/issues/31","id":160842863,"user":{"login":"zzak","id":277819,"avatar_url":"https://avatars.githubusercontent.com/u/277819?v=3","gravatar_id":"","url":"https://api.github.com/users/zzak","html_url":"https://github.com/zzak","followers_url":"https://api.github.com/users/zzak/followers","following_url":"https://api.github.com/users/zzak/following{/other_user}","gists_url":"https://api.github.com/users/zzak/gists{/gist_id}","starred_url":"https://api.github.com/users/zzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzak/subscriptions","organizations_url":"https://api.github.com/users/zzak/orgs","repos_url":"https://api.github.com/users/zzak/repos","events_url":"https://api.github.com/users/zzak/events{/privacy}","received_events_url":"https://api.github.com/users/zzak/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T03:38:10Z","updated_at":"2015-12-01T03:38:10Z","body":"@kjunichi Thanks for your report! I will look into it and see if I can fix it upstream.\r\n\r\n/cc @tsahara"}}