[fpc-pascal] Label

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 9 17:18:09 CEST 2012


Rainer Stratmann wrote on Thu, 09 Aug 2012:

> If you have a label in a procedure and declare this procedure as inline
> procedure then it gives also problems (Fatal: compilation aborted!).

That is the generic error message that is shown at the end of every  
failed compilation. I guess you mean this error message:

   Error: Taking the address of labels defined outside the current  
scope isn't allowed

Taking the address of a label inside an inlined routine is indeed not  
supported.

I would really recommend you (again) to use resourcestrings.


Jonas



More information about the fpc-pascal mailing list