Inform - Support - Patches

About Patches  


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

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 17 April 2013. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.