{"action":"created","issue":{"url":"https://api.github.com/repos/honnibal/thinc/issues/2","labels_url":"https://api.github.com/repos/honnibal/thinc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/honnibal/thinc/issues/2/comments","events_url":"https://api.github.com/repos/honnibal/thinc/issues/2/events","html_url":"https://github.com/honnibal/thinc/issues/2","id":121804908,"number":2,"title":"cast from 'void*' to 'Py_intptr_t {aka int}' loses precision","user":{"login":"viktor-ferenczi","id":1848514,"avatar_url":"https://avatars.githubusercontent.com/u/1848514?v=3","gravatar_id":"","url":"https://api.github.com/users/viktor-ferenczi","html_url":"https://github.com/viktor-ferenczi","followers_url":"https://api.github.com/users/viktor-ferenczi/followers","following_url":"https://api.github.com/users/viktor-ferenczi/following{/other_user}","gists_url":"https://api.github.com/users/viktor-ferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/viktor-ferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktor-ferenczi/subscriptions","organizations_url":"https://api.github.com/users/viktor-ferenczi/orgs","repos_url":"https://api.github.com/users/viktor-ferenczi/repos","events_url":"https://api.github.com/users/viktor-ferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/viktor-ferenczi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T22:31:16Z","updated_at":"2015-12-11T22:47:03Z","closed_at":null,"body":"\tD:\\Dev\\3rdparty\\thinc>python setup.py build_ext --inplace\r\n\tCompiling thinc/api.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/api.pyx\r\n\tCompiling thinc/features.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/features.pyx\r\n\tCompiling thinc/model.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/model.pyx\r\n\tCompiling thinc/update.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/update.pyx\r\n\tCompiling thinc/blas.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/blas.pyx\r\n\tCompiling thinc/layer.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/layer.pyx\r\n\tCompiling thinc/nn.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/nn.pyx\r\n\tCompiling thinc/sparse.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/sparse.pyx\r\n\tmissing cimport in module '__future__': thinc/search.pyx\r\n\tCompiling thinc/search.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/search.pyx\r\n\tCompiling thinc/cache.pyx because it changed.\r\n\t[1/1] Cythonizing thinc/cache.pyx\r\n\tCompiling tests/c_test_search.pyx because it changed.\r\n\t[1/1] Cythonizing tests/c_test_search.pyx\r\n\trunning build_ext\r\n\tbuilding 'thinc.api' extension\r\n\tC:\\Anaconda3\\Scripts\\gcc.bat -mdll -O -Wall -I. -IC:\\Anaconda3\\include -IC:\\Anaconda3\\include -IC:\\Anaconda3\\include -c thinc/api.cpp -o build\\temp.win-amd64-3.4\\Release\\thinc\\api.o -O3\r\n\tthinc/api.cpp: In function 'void* __pyx_align_pointer(void*, size_t)':\r\n\tthinc/api.cpp:8228:37: error: cast from 'void*' to 'Py_intptr_t {aka int}' loses precision [-fpermissive]\r\n\tthinc/api.cpp:8274:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n\terror: command 'C:\\\\Anaconda3\\\\Scripts\\\\gcc.bat' failed with exit status 1"},"comment":{"url":"https://api.github.com/repos/honnibal/thinc/issues/comments/164070019","html_url":"https://github.com/honnibal/thinc/issues/2#issuecomment-164070019","issue_url":"https://api.github.com/repos/honnibal/thinc/issues/2","id":164070019,"user":{"login":"viktor-ferenczi","id":1848514,"avatar_url":"https://avatars.githubusercontent.com/u/1848514?v=3","gravatar_id":"","url":"https://api.github.com/users/viktor-ferenczi","html_url":"https://github.com/viktor-ferenczi","followers_url":"https://api.github.com/users/viktor-ferenczi/followers","following_url":"https://api.github.com/users/viktor-ferenczi/following{/other_user}","gists_url":"https://api.github.com/users/viktor-ferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/viktor-ferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktor-ferenczi/subscriptions","organizations_url":"https://api.github.com/users/viktor-ferenczi/orgs","repos_url":"https://api.github.com/users/viktor-ferenczi/repos","events_url":"https://api.github.com/users/viktor-ferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/viktor-ferenczi/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T22:47:02Z","updated_at":"2015-12-11T22:47:02Z","body":"Based on https://groups.google.com/forum/#!msg/cython-users/GnBAjzbL4rY/lcTOy-0f_pAJ the problem is that the 64 bit Anaconda3 I'm using on Windows somehow invokes the 32 bit C compiler."}}