[lazarus] old delphi conversion & lrs

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 14 05:04:54 EDT 2002

On Sun, 14 Jul 2002 12:05:41 +1000
John August <johna at babel.apana.org.au> wrote:

> There are never any references to bcddisp2.lrs when I do an strace during
> the compilation or execution. During compilation, a 'stat' is done once
> on this file, regardless of the presence or absence of the {$I ... }
> modifier.

Hmm, I got a read and a stat.

> A code section follows :
> initialization
> {$I bcddisp2.lrs}
> writeln ('in initialise code');
> And I do get the 'in initialise code' being displayed. But the lrs file
> does not enter the picture, even to cause a bug. 

You lrs file _is_ included, or else the compiler would abort with missing include file.
Can you give more details?
Why do you believe, the lrs file is not included?

> Are there additional settings to enable this, or something. 



More information about the Lazarus mailing list