{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/414","repository_url":"https://api.github.com/repos/WebAssembly/binaryen","labels_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/414/comments","events_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/414/events","html_url":"https://github.com/WebAssembly/binaryen/issues/414","id":151856162,"number":414,"title":"Visual Studio 2015 Build Error support/file.cpp","user":{"login":"BSalita","id":1225749,"avatar_url":"https://avatars.githubusercontent.com/u/1225749?v=3","gravatar_id":"","url":"https://api.github.com/users/BSalita","html_url":"https://github.com/BSalita","followers_url":"https://api.github.com/users/BSalita/followers","following_url":"https://api.github.com/users/BSalita/following{/other_user}","gists_url":"https://api.github.com/users/BSalita/gists{/gist_id}","starred_url":"https://api.github.com/users/BSalita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BSalita/subscriptions","organizations_url":"https://api.github.com/users/BSalita/orgs","repos_url":"https://api.github.com/users/BSalita/repos","events_url":"https://api.github.com/users/BSalita/events{/privacy}","received_events_url":"https://api.github.com/users/BSalita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-29T12:36:33Z","updated_at":"2016-04-30T17:02:37Z","closed_at":null,"body":"Visual Studio 2015 reports a build error on line 42 of support/file.cpp It was fixed by changing `auto` to `int`. Other than this issue, binaryen builds successfully.\r\n\r\nOriginal (syntax error):\r\n\r\n`auto flags = std::ifstream::in;`\r\n\r\nError C2676: binary '|=': 'std::_Iosb<int>::_Openmode' does not define this operator or a conversion to a type acceptable to the predefined operator - binaryen\\src\\support\\file.cpp\t27\t\r\n\r\nWorks:\r\n\r\n`int flags = std::ifstream::in;`"},"comment":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/comments/215979079","html_url":"https://github.com/WebAssembly/binaryen/issues/414#issuecomment-215979079","issue_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/414","id":215979079,"user":{"login":"BSalita","id":1225749,"avatar_url":"https://avatars.githubusercontent.com/u/1225749?v=3","gravatar_id":"","url":"https://api.github.com/users/BSalita","html_url":"https://github.com/BSalita","followers_url":"https://api.github.com/users/BSalita/followers","following_url":"https://api.github.com/users/BSalita/following{/other_user}","gists_url":"https://api.github.com/users/BSalita/gists{/gist_id}","starred_url":"https://api.github.com/users/BSalita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BSalita/subscriptions","organizations_url":"https://api.github.com/users/BSalita/orgs","repos_url":"https://api.github.com/users/BSalita/repos","events_url":"https://api.github.com/users/BSalita/events{/privacy}","received_events_url":"https://api.github.com/users/BSalita/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T17:02:36Z","updated_at":"2016-04-30T17:02:36Z","body":"Fix is in PR #418"}}