[Python-Dev] Breakage in latest CVS

Barry A. Warsaw barry@digicool.com
Wed, 17 Jan 2001 10:54:06 -0500


Looks like the latest CVS (updated just minutes ago) is broken.  I'm
trying to fix some of these complaints, but thought I'd at least
report what I've found...

-Barry

...
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H   -c floatobject.c -o floatobject.o
floatobject.c:675: warning: excess elements in struct initializer after `float_as_number'
floatobject.c:700: `Py_TPFLAGS_NEWSTYLENUMBER' undeclared here (not in a function)
floatobject.c:700: initializer element for `PyFloat_Type.tp_flags' is not constant
...
intobject.c:800: warning: excess elements in struct initializer after `int_as_number'
intobject.c:825: `Py_TPFLAGS_NEWSTYLENUMBER' undeclared here (not in a function)
intobject.c:825: initializer element for `PyInt_Type.tp_flags' is not constant
make[1]: *** [intobject.o] Error 1
...
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H   -c longobject.c -o longobject.o
longobject.c:1865: warning: excess elements in struct initializer after `long_as_number'
longobject.c:1890: `Py_TPFLAGS_NEWSTYLENUMBER' undeclared here (not in a function)
longobject.c:1890: initializer element for `PyLong_Type.tp_flags' is not constant
make[1]: *** [longobject.o] Error 1