Christopher Ferrall wrote:
This is listed in "Other known bugs"
forward referencing pointers generate debug info that appears as generic pointers; no information of `with' statements is currently given to the debugger; error in debug entries generated for objects
Is this the same as this problem:
I think so.
type xptr = ^x_type; x_type = record stuff ... next : xptr; end; var xlist, x : xptr; begin new(xlist); xlist.next:=nil;
^
... x := xlist; repeat with x^ do begin new(next); x := next; until no_more_to_create;
You're not setting the last next field to nil, so maybe that's causing the segfault later. But, of course, without real code, I can't tell.
Obviously next can be "pointer" and xptr can be defined after x_type, but it is inconvenient to change code based on one of the building blocks of Pascal.
If you can help fixing this bug, that's very welcome. Currently, the only person who is familiar with this code (Peter) is too busy ..
Frank