Michael Felt <mich...@felt.demon.nl> added the comment:

OOps - wrong error! 

It is the new fsid variable!

michael@x071:[/data/prj/python/git/python3-3.7.0.a3]xlc_r  -DNDEBUG -O 
-I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5      -I. -I./Include -I/opt/in>
"./Modules/posixmodule.c", line 5514.11: 1506-131 (W) Explicit dimension 
specification or initializer required for an auto or static array.
"./Modules/posixmodule.c", line 9328.64: 1506-280 (S) Function argument 
assignment between types "unsigned long" and "struct fsid_t" is not allowed.

     9326 |     PyStructSequence_SET_ITEM(v, 9, PyLong_FromLong((long) 
st.f_namemax));
     9326 +     (((PyTupleObject *)(v))->ob_item[9] = PyLong_FromLong((long) 
st.f_namemax));
     9327 | #endif
"./Modules/posixmodule.c", line 9328.64: 1506-280 (S) Function argument 
assignment between types "unsigned long" and "struct fsid_t" is not allowed
.
     9328 |     PyStructSequence_SET_ITEM(v, 10, 
PyLong_FromUnsignedLong(st.f_fsid));
     9328 +     (((PyTupleObject *)(v))->ob_item[10] = 
PyLong_FromUnsignedLong(st.f_fsid));
     9329 |     if (PyErr_Occurred()) {
     9330 |         Py_DECREF(v);
     9330 +         do { PyObject *_py_decref_tmp = (PyObject *)(v); if (   
--(_py_decref_tmp)->ob_refcnt != 0) ; else (      (*(((PyObject*)(_py_d
ecref_tmp))->ob_type)->tp_dealloc)((PyObject *)(_py_decref_tmp))); } while (0);

----------
title: AIX (xlc_r) compile error with Modules/posixmodule.c: Explicit dimension 
specification or initializer required -> AIX (xlc_r) compile error with 
Modules/posixmodule.c: Function argument assignment between types "unsigned 
long" and "struct fsid_t" is not allowed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32390>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to