------- Comment #6 from janis at gcc dot gnu dot org 2006-08-18 18:04 ------- The testcase in comment #4 is incomplete; I get all of these errors even with the current 4.1-branch on powerpc-linux:
elm3b11% /opt/gcc-nightly/4.1/bin/g++ -c 28753.cc 28753.cc:21: error: ISO C++ forbids declaration of __pyx_f_11 with no type 28753.cc: In function int __pyx_f_11(PyObject*, PyObject*): 28753.cc:34: error: return-statement with no value, in function returning int 28753.cc:37: error: PyObject_GetIter was not declared in this scope 28753.cc:40: error: PyIter_Next was not declared in this scope 28753.cc:51: error: PyObject_CallObject was not declared in this scope 28753.cc:57: error: PyTuple_New was not declared in this scope 28753.cc:75: error: PyErr_ExceptionMatches was not declared in this scope -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28753