{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/pyston/issues/1016","labels_url":"https://api.github.com/repos/dropbox/pyston/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/pyston/issues/1016/comments","events_url":"https://api.github.com/repos/dropbox/pyston/issues/1016/events","html_url":"https://github.com/dropbox/pyston/issues/1016","id":119114134,"number":1016,"title":"Build errors on Clang 3.7 because of new move diagnostics","user":{"login":"dean0x7d","id":4831417,"avatar_url":"https://avatars.githubusercontent.com/u/4831417?v=3","gravatar_id":"","url":"https://api.github.com/users/dean0x7d","html_url":"https://github.com/dean0x7d","followers_url":"https://api.github.com/users/dean0x7d/followers","following_url":"https://api.github.com/users/dean0x7d/following{/other_user}","gists_url":"https://api.github.com/users/dean0x7d/gists{/gist_id}","starred_url":"https://api.github.com/users/dean0x7d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dean0x7d/subscriptions","organizations_url":"https://api.github.com/users/dean0x7d/orgs","repos_url":"https://api.github.com/users/dean0x7d/repos","events_url":"https://api.github.com/users/dean0x7d/events{/privacy}","received_events_url":"https://api.github.com/users/dean0x7d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-27T00:34:42Z","updated_at":"2015-11-30T10:15:28Z","closed_at":null,"body":"Trying to compile with Clang 3.7 results in the following errors because of `-Werror` and the new [move warnings](http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html#improvements-to-clang-s-diagnostics) which are included with `-Wall` in the 3.7 release.\r\n\r\n```\r\n~/pyston_deps/llvm-trunk/include/llvm/ADT/APFloat.h:352:12: \r\nerror: redundant move in return statement [-Werror,-Wredundant-move]\r\n    return std::move(Value);\r\n           ^\r\n```\r\n\r\n```\r\n../../src/codegen/compvars.cpp:2548:16:\r\nerror: moving a local object in a return statement prevents copy elision [-Werror,-Wpessimizing-move]\r\n        return std::move(elts);\r\n               ^\r\n```\r\nNote that the first error already has a [fix in LLVM](https://github.com/llvm-mirror/llvm/commit/fda9fd463dae38840cc02c5ae668cb1097395b9a)."},"comment":{"url":"https://api.github.com/repos/dropbox/pyston/issues/comments/160587268","html_url":"https://github.com/dropbox/pyston/issues/1016#issuecomment-160587268","issue_url":"https://api.github.com/repos/dropbox/pyston/issues/1016","id":160587268,"user":{"login":"undingen","id":7397630,"avatar_url":"https://avatars.githubusercontent.com/u/7397630?v=3","gravatar_id":"","url":"https://api.github.com/users/undingen","html_url":"https://github.com/undingen","followers_url":"https://api.github.com/users/undingen/followers","following_url":"https://api.github.com/users/undingen/following{/other_user}","gists_url":"https://api.github.com/users/undingen/gists{/gist_id}","starred_url":"https://api.github.com/users/undingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undingen/subscriptions","organizations_url":"https://api.github.com/users/undingen/orgs","repos_url":"https://api.github.com/users/undingen/repos","events_url":"https://api.github.com/users/undingen/events{/privacy}","received_events_url":"https://api.github.com/users/undingen/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T10:15:28Z","updated_at":"2015-11-30T10:15:28Z","body":"Could you please test if #1019 fixes the issue if you have time or if there are additional warnings which need to get fixed.\r\nThanks"}}