[Python-Dev] struct initializer in gcmodule.c (original) (raw)

Jack Jansen jack@oratrix.nl
Fri, 10 Aug 2001 11:23:38 +0200


A recent change to gcmodule.c (function gc_referents_for()) gave it a structure initializer for an auto variable: struct referents refs = {objs, 0};

My compiler chokes on this, and my memory of the C standard also says this is not allowed. But then, my memory may have been superseded by more recent C standards...

Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++