Bug report - Schemata bug

Waldek Hebisch hebisch at math.uni.wroc.pl
Mon Jun 1 14:57:56 CEST 2009

Martin Kalbfuss wrote:
Fixed quoting
> > You tried to use automatic initialization of variable sized
> > schema.  Unfortunatly, it works only simplest cases (basically
> > the schema parameters must be constants).
> >
> > There is a bug in the compiler: there should be reasonable
> > error message instead of the above...
> >
> But the same happens if I use
> new( table, map. width , map. height );
> instead. Isn't it very useless if I can only use constants for dynamic memory?

You can allocate variable sized items unsing new.  Simply you can not
request automatic initialization of such items.

                              Waldek Hebisch
hebisch at math.uni.wroc.pl 

More information about the Gpc mailing list