[Python-Dev] struct initializer in gcmodule.c - Allowed?

Neil Schemenauer nas@python.ca
Fri, 10 Aug 2001 07:04:04 -0700


Jack Jansen wrote:
> 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...

I'm working on fixing this.  That structure is not really needed so I'm
removing it.

  Neil