Waldek Hebisch wrote:
What causes this?
error: label `nonlocal_exit_18' not set
It's happening right after the declaration of a procedure in a unit.
It is a bug: what version you use and what input reproduce this message?
I vaguely remember that this error message appears when Exit( procname) is used and there is another error in the source code. But an example that reproduces it would be better.
{$mac-pascal} program testexit;
procedure P; begin Exit(P);
begin P end.
But to answer Waldek's question, with gpc-20060215 the error doesn't seem to appear. Is this in the bug-fix list ?
Regards,
Adriaan van Os