Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue C63001

Compiler overflows if too many properties
Submitted by: Roger Firth     Appeared in: Compiler 6.30 or before     Fixed in: Compiler 6.31
Problem

An Object or Class definition with more than 32 common property values causes an internal compiler error; this may not be apparent unless at least 40 properties are defined.

Solution (by Cedric Knight)

It's this typedef in header.h:

  typedef struct fpropt {
      uchar atts[6];
      char l;
      prop pp[32];
  } fpropt;

32 should be 64.


Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.