python-skiplist icon indicating copy to clipboard operation
python-skiplist copied to clipboard

can't install for python 3.4 on windows

Open Sanyorke-Han opened this issue 9 years ago • 0 comments

I have VS 2012 installed, and i see it use VS 2012 compiling. I encountered the following error result:

skiplist/sortedsetobject.c(288) : warning C4127: conditional expression is constant                                       
skiplist/sortedsetobject.c(316) : warning C4127: conditional expression is constant                                       
skiplist/sortedsetobject.c(332) : warning C4127: conditional expression is constant                                       
skiplist/sortedsetobject.c(354) : warning C4127: conditional expression is constant                                       
skiplist/sortedsetobject.c(456) : error C2099: initializer is not a constant                                              
skiplist/sortedsetobject.c(456) : warning C4232: nonstandard extension used : 'tp_hash' : address of dllimport 'PyObject_H

ashNotImplemented' is not static, identity not guaranteed
d:\python34\include\object.h(538) : see declaration of 'PyObject_HashNotImplemented'
skiplist/sortedsetobject.c(456) : warning C4232: nonstandard extension used : 'tp_alloc' : address of dllimport 'PyType_Ge nericAlloc' is not static, identity not guaranteed
d:\python34\include\object.h(486) : see declaration of 'PyType_GenericAlloc'
skiplist/sortedsetobject.c(499) : error C2099: initializer is not a constant
skiplist/sortedsetobject.c(499) : warning C4232: nonstandard extension used : 'tp_iter' : address of dllimport 'PyObject_S elfIter' is not static, identity not guaranteed
d:\python34\include\object.h(529) : see declaration of 'PyObject_SelfIter'
skiplist/sortedsetobject.c(499) : warning C4232: nonstandard extension used : 'tp_alloc' : address of dllimport 'PyType_Ge nericAlloc' is not static, identity not guaranteed
d:\python34\include\object.h(486) : see declaration of 'PyType_GenericAlloc'
skiplist/sortedsetobject.c(499) : warning C4232: nonstandard extension used : 'tp_new' : address of dllimport 'PyType_Gene ricNew' is not static, identity not guaranteed
d:\python34\include\object.h(487) : see declaration of 'PyType_GenericNew'
skiplist/sortedsetobject.c(524) : warning C4127: conditional expression is constant
skiplist/sortedsetobject.c(537) : warning C4127: conditional expression is constant
skiplist/sortedsetobject.c(545) : warning C4127: conditional expression is constant

error: command 'D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe' failed with exit status 2

Sanyorke-Han avatar Aug 13 '15 06:08 Sanyorke-Han