{"action":"created","issue":{"url":"https://api.github.com/repos/cmus/cmus/issues/343","labels_url":"https://api.github.com/repos/cmus/cmus/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/cmus/cmus/issues/343/comments","events_url":"https://api.github.com/repos/cmus/cmus/issues/343/events","html_url":"https://github.com/cmus/cmus/issues/343","id":112487113,"number":343,"title":"compiling error cygwin64","user":{"login":"buzzbo","id":10805246,"avatar_url":"https://avatars.githubusercontent.com/u/10805246?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzbo","html_url":"https://github.com/buzzbo","followers_url":"https://api.github.com/users/buzzbo/followers","following_url":"https://api.github.com/users/buzzbo/following{/other_user}","gists_url":"https://api.github.com/users/buzzbo/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzbo/subscriptions","organizations_url":"https://api.github.com/users/buzzbo/orgs","repos_url":"https://api.github.com/users/buzzbo/repos","events_url":"https://api.github.com/users/buzzbo/events{/privacy}","received_events_url":"https://api.github.com/users/buzzbo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-21T00:25:24Z","updated_at":"2015-10-26T12:32:33Z","closed_at":"2015-10-24T17:36:17Z","body":"I am compiling from source on Cygwin x86_64, after running `./configure` then `make`:\r\n\r\n\r\n       CC     ape.o\r\n    In file included from ape.c:23:0:\r\n    xmalloc.h: In function 'xstrndup':\r\n    xmalloc.h:79:2: error: implicit declaration of function 'strndup' [-Werror=implicit-function-declaration]\r\n      char *s = strndup(str, n);\r\n      ^\r\n    xmalloc.h:79:12: warning: incompatible implicit declaration of built-in function 'strndup'\r\n      char *s = strndup(str, n);\r\n                ^\r\n    cc1: some warnings being treated as errors\r\n    scripts/lib.mk:66: recipe for target 'ape.o' failed\r\n    make: *** [ape.o] Error 1\r\n\r\nIf I find a solution I'll post it. [This](https://stackoverflow.com/questions/9168150/implicit-declaration-of-strndup) is as close as I get but it's a warning not an error.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cmus/cmus/issues/comments/151119529","html_url":"https://github.com/cmus/cmus/issues/343#issuecomment-151119529","issue_url":"https://api.github.com/repos/cmus/cmus/issues/343","id":151119529,"user":{"login":"maggick","id":1957997,"avatar_url":"https://avatars.githubusercontent.com/u/1957997?v=3","gravatar_id":"","url":"https://api.github.com/users/maggick","html_url":"https://github.com/maggick","followers_url":"https://api.github.com/users/maggick/followers","following_url":"https://api.github.com/users/maggick/following{/other_user}","gists_url":"https://api.github.com/users/maggick/gists{/gist_id}","starred_url":"https://api.github.com/users/maggick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggick/subscriptions","organizations_url":"https://api.github.com/users/maggick/orgs","repos_url":"https://api.github.com/users/maggick/repos","events_url":"https://api.github.com/users/maggick/events{/privacy}","received_events_url":"https://api.github.com/users/maggick/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T12:32:33Z","updated_at":"2015-10-26T12:32:33Z","body":"I will update the post this evening. Thank you guys for your inputs and your feedback."}}