I'm seeing the error message "prior parameter's size depends on `foo'" whilst trying to compile an extended pascal module.
I'm finding it difficult to strip this down to a really small example which shows the behaviour, but it is associated with a var parameter which is typed as string.
Before I spend a lot more time trying to make a very small example of this - anyone have any suggestions as to what I might be doing wrong?
David James wrote:
I'm seeing the error message "prior parameter's size depends on `foo'" whilst trying to compile an extended pascal module.
I'm finding it difficult to strip this down to a really small example which shows the behaviour, but it is associated with a var parameter which is typed as string.
Before I spend a lot more time trying to make a very small example of this - anyone have any suggestions as to what I might be doing wrong?
You probably stumbled about a bug in GPC.
To help us to fix GPC it would be best if you reduced the problem to a program `david1.pas' which
* is as short as possible,
* reproduces the bug,
* and is intended to writeln 'OK' if no bug occured and something else otherwise.
Thanks in advance,
Peter