{"action":"closed","issue":{"url":"https://api.github.com/repos/libarchive/libarchive/issues/640","labels_url":"https://api.github.com/repos/libarchive/libarchive/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/libarchive/libarchive/issues/640/comments","events_url":"https://api.github.com/repos/libarchive/libarchive/issues/640/events","html_url":"https://github.com/libarchive/libarchive/issues/640","id":125417632,"number":640,"title":"archive_write_set_format_warc.c:334: error: declaration of 'time' shadows a global declaration","user":{"login":"watercrossing","id":5656196,"avatar_url":"https://avatars.githubusercontent.com/u/5656196?v=3","gravatar_id":"","url":"https://api.github.com/users/watercrossing","html_url":"https://github.com/watercrossing","followers_url":"https://api.github.com/users/watercrossing/followers","following_url":"https://api.github.com/users/watercrossing/following{/other_user}","gists_url":"https://api.github.com/users/watercrossing/gists{/gist_id}","starred_url":"https://api.github.com/users/watercrossing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watercrossing/subscriptions","organizations_url":"https://api.github.com/users/watercrossing/orgs","repos_url":"https://api.github.com/users/watercrossing/repos","events_url":"https://api.github.com/users/watercrossing/events{/privacy}","received_events_url":"https://api.github.com/users/watercrossing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T15:39:27Z","updated_at":"2016-01-08T06:22:54Z","closed_at":"2016-01-08T06:22:54Z","body":"When attempting to compile the git head of libarchive I get the following error:\r\n\r\n```\r\ncc1: warnings being treated as errors\r\nlibarchive/archive_write_set_format_warc.c: In function 'xstrftime':\r\nlibarchive/archive_write_set_format_warc.c:334: error: declaration of 'time' shadows a global declaration\r\n/usr/include/time.h:186: error: shadowed declaration is here\r\nmake[1]: *** [libarchive/archive_write_set_format_warc.lo] Error 1\r\nmake[1]: Leaving directory `git/libarchive'\r\nmake: *** [install] Error 2\r\n```\r\n\r\n"}}