
27 Sep
2004
27 Sep
'04
7:03 p.m.
"Neal D. Becker" <ndbecker2@verizon.net> writes:
Current boost.cvs, gcc-3.4.2:
/usr/local/src/boost.cvs/libs/python/build/../src/object/function.cpp:101: warning: right-handoperand of comma has no effect
PyObject_INIT(p, &function_type); That's probably because PyObject_INIT is a macro defined like this: #define PyObject_INIT(op, typeobj) \ ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) ^^^^ So that has no effect. To GCC I say: so what? The macro is supplied by Python, so there's not much _I_ can do about it. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com