gcc 2.95 compilation fix
Status: Alpha
Brought to you by:
svenil
These revision numbers aren't correct.
--- immnodeset.c (revision 35259)
+++ immnodeset.c (working copy)
@@ -406,6 +406,8 @@
static PyObject *
immnodeset_obj_at(NyNodeSetObject *v, PyObject *obj)
{
+ PyObject **lo;
+ PyObject **hi;
Py_uintptr_t addr =
#if SIZEOF_VOID_P <= SIZEOF_LONG
PyInt_AsUnsignedLongMask(obj);
@@ -415,8 +417,8 @@
if (addr == (Py_uintptr_t) -1 && PyErr_Occurred())
return 0;
- PyObject **lo = &v->u.nodes[0];
- PyObject **hi = &v->u.nodes[v->ob_size];
+ lo = &v->u.nodes[0];
+ hi = &v->u.nodes[v->ob_size];
while (lo < hi) {
PyObject **cur = lo + (hi - lo) / 2;
if ((Py_uintptr_t)(*cur) == addr) {
Logged In: YES
user_id=356603
Originator: NO
Thanks for the report. However, I have no clue what those revision numbers are. Can you please be more specific?
Regards / Sverker Nilsson
Logged In: YES
user_id=356603
Originator: NO
TO BE CLOSED
I will close this item soon if nobody has any objections.