py-breakpoint.c fails to compile with MinGW GCC
Eli Zaretskii
eliz@gnu.org
Thu Jul 28 12:07:00 GMT 2011
The error message is:
./python/py-breakpoint.c:1019: error: initializer element is not constant
./python/py-breakpoint.c:1019: error: (near initialization for `breakpoint_objec t_type.tp_new')
This is with MinGW GCC 3.4.2 (yes, old, but it worked fine for me
until now).
I have Python 2.7.1 installed on that machine.
Removing the last element of the initializer, i.e. this line:
PyType_GenericNew /* tp_new */
allows py-breakpoint.c to compile.
Is this a bug in GCC, in GDB, in Python, or in my setup?
TIA
More information about the Gdb
mailing list