[DGD] Error with 1.5.5

Blain blain20 at gmail.com
Mon Jul 17 03:36:58 CEST 2017


I triggered a segfault after compile_error and before runtime_error are
called in the driver object.  I created a bare bones implementation and
determined that the following does bug out.

[/driver.c]
void initialize() {
  call_out("load_foo");
}

void load_foo() {
  compile_object("/foo");
}

[/foo.c]
void foo() {
  test = ({});
}

Also, /auto.c and /auto.h are empty files.

With the variable test not being declared in foo.c, DGD segfaults.  The
error message given to compile_error is "undeclared variable test".



More information about the DGD mailing list