Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61112     [previous patch]

WITHOUT_DIRECTIONS causes compilation error
Submitted by: Marshall Vandegrift     Appeared in: Library 6/11 or before     Fixed in: -
Problem

Version 6/11 of the Inform Library fails to compile if the constant WITHOUT_DIRECTIONS is set and the objects 'u_obj' and 'd_obj' aren't defined, because a few library routines expect those objects to exist.

Solution

At the end of Grammar.h, define:

  Default d_obj NULL;
  Default u_obj NULL;


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.