[Oberon] FPGA - undefined pointer base

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Sat Sep 23 23:21:27 CEST 2017

This error occurs because since the Oberon-7 revision, as defined in 2007/2011, pointers must point to (named) records.
See the last sentence of this document:

Tomas Kral thomas.kral at email.cz Sat Sep 23 23:00:38 CEST 2017Hi,

I apologise in case I have asked before, I am getting `undefined pointer
base' compilation error for these pointers.

    ColorTable = POINTER TO ColorTableDesc;
    ColorTableDesc = ARRAY 256 OF RECORD red, green, blue: BYTE END;

    Picture* = POINTER TO PictureDesc;
    PictureDesc* = RECORD
      width*, height*, depth*: INTEGER;
      wth: INTEGER;
      bitmap: Bitmaps.Bitmap;
      base: INTEGER;
      ct: ColorTable

I can resolve by declaring `ct' as `ColorTableDesc', but I am curious
what I do wrong?

Many thanks in advance. 

Tomas Kral <thomas.kral at email.cz <https://lists.inf.ethz.ch/mailman/listinfo/oberon>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20170923/9da0bcb0/attachment.html>

More information about the Oberon mailing list