{"action":"closed","issue":{"url":"https://api.github.com/repos/cython/cython/issues/1562","repository_url":"https://api.github.com/repos/cython/cython","labels_url":"https://api.github.com/repos/cython/cython/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/cython/cython/issues/1562/comments","events_url":"https://api.github.com/repos/cython/cython/issues/1562/events","html_url":"https://github.com/cython/cython/issues/1562","id":197263575,"number":1562,"title":" warning C4293: '<<' : shift count negative or too big, undefined behavior","user":{"login":"Lexcon","id":4091643,"avatar_url":"https://avatars.githubusercontent.com/u/4091643?v=3","gravatar_id":"","url":"https://api.github.com/users/Lexcon","html_url":"https://github.com/Lexcon","followers_url":"https://api.github.com/users/Lexcon/followers","following_url":"https://api.github.com/users/Lexcon/following{/other_user}","gists_url":"https://api.github.com/users/Lexcon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lexcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lexcon/subscriptions","organizations_url":"https://api.github.com/users/Lexcon/orgs","repos_url":"https://api.github.com/users/Lexcon/repos","events_url":"https://api.github.com/users/Lexcon/events{/privacy}","received_events_url":"https://api.github.com/users/Lexcon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T20:49:18Z","updated_at":"2017-02-14T06:23:35Z","closed_at":"2017-02-14T06:23:35Z","body":"I get the warning mentioned in the title of this issue.\r\n\r\nI have the latest version of Cython 0.52.2 and Python   (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]\r\n\r\nNot sure how to add debugging or reproducing information, I'm trying to compile a more complex file.\r\n\r\nThe offending line in my generated .c file is:\r\n\r\nif ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (a < (double) (1L<<53))) {\r\n\r\nso it seems to try to shift 53 positions in a Long value"}}
{"actor":{"display_login":"robertwb"}}