{"action":"created","issue":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/1161","labels_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1161/comments","events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1161/events","html_url":"https://github.com/ldc-developers/ldc/issues/1161","id":111963031,"number":1161,"title":"Win64: no error status when creating a library fails","user":{"login":"rainers","id":702284,"avatar_url":"https://avatars.githubusercontent.com/u/702284?v=3","gravatar_id":"","url":"https://api.github.com/users/rainers","html_url":"https://github.com/rainers","followers_url":"https://api.github.com/users/rainers/followers","following_url":"https://api.github.com/users/rainers/following{/other_user}","gists_url":"https://api.github.com/users/rainers/gists{/gist_id}","starred_url":"https://api.github.com/users/rainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainers/subscriptions","organizations_url":"https://api.github.com/users/rainers/orgs","repos_url":"https://api.github.com/users/rainers/repos","events_url":"https://api.github.com/users/rainers/events{/privacy}","received_events_url":"https://api.github.com/users/rainers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-17T13:22:18Z","updated_at":"2015-10-18T10:38:30Z","closed_at":"2015-10-18T10:38:30Z","body":"Here's a repro:\r\n```\r\nC:\\tmp\\d\\ldc>ldc2 -lib test.d\r\nC:\\tmp\\d\\ldc>attrib +R test.lib\r\nC:\\tmp\\d\\ldc>ldc2 -lib test.d\r\nLINK : fatal error LNK1104: cannot open file 'test.lib'\r\nError: C:\\l\\vs14\\VC\\BIN\\lib.exe failed with status: 1104\r\n\r\nC:\\tmp\\d\\ldc>echo %ERRORLEVEL%\r\n0\r\n```\r\nldc sould return an error here, probably the status of the failing lib call."},"comment":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments/149000492","html_url":"https://github.com/ldc-developers/ldc/issues/1161#issuecomment-149000492","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1161","id":149000492,"user":{"login":"klickverbot","id":19335,"avatar_url":"https://avatars.githubusercontent.com/u/19335?v=3","gravatar_id":"","url":"https://api.github.com/users/klickverbot","html_url":"https://github.com/klickverbot","followers_url":"https://api.github.com/users/klickverbot/followers","following_url":"https://api.github.com/users/klickverbot/following{/other_user}","gists_url":"https://api.github.com/users/klickverbot/gists{/gist_id}","starred_url":"https://api.github.com/users/klickverbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klickverbot/subscriptions","organizations_url":"https://api.github.com/users/klickverbot/orgs","repos_url":"https://api.github.com/users/klickverbot/repos","events_url":"https://api.github.com/users/klickverbot/events{/privacy}","received_events_url":"https://api.github.com/users/klickverbot/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T10:38:30Z","updated_at":"2015-10-18T10:38:30Z","body":"Fixed by #1162, thanks!\r\n\r\n(By the way, if you include something to the effect of `closes #<issue_id>` or `fixes #<issue_id>` in the commit message, the PR will be linked with the issue automatically.)"}}