[lazarus] Problems parsing 1.9 source

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 7 14:28:26 EST 2003

On Fri, 7 Nov 2003 19:54:25 +0100
Vincent Snijders <vslist at zonnet.nl> wrote:

I'm currently fixing the rpm scripts for 1.9. As soon as I got them, I will
fix the paths.


> I noticed the lazarus codetools have some problems finding declarations
> when using fpc 1.9 compiler and sources.
> 1. oldfpccall is not recognized.
> For example on line 37 of .../fpc/rtl/linux/i386/syscallh.inc:
> function Do_SysCall(sysnr:TSysParam):TSysResult;  {$ifndef VER1_0}
> oldfpccall; {$endif}
> oldfpccall is not recognized and parsing stops.

ts ts. I thought, introducing new keywords is only a Borland illness.

> 2. wrong signal.inc included
> On line 29 of .../fpc/rtl/unix/unix.pp signal.inc is included. This is
> in the interface section of unix.pp. Lazarus thinks it should include
> .../fpc/rtl/linux/i386/signal.inc. This is not possible because this
> file also has some procedure implementation around line 137(which can't
> be a part of a unit's interface). Apparently the right file to include
> is .../fpc/rtl/linux/signal.inc. As far as I could see,
> .../fpc/rtl/linux/i386/signal.inc is not used and might be obsolete.
> To work around this bug I delete the 'obsolete' file and restart
> lazarus. Of course after updating fpc from cvs, it is right back.

Every month the fpc sources get more exceptions, - sigh -

> 3. can't find include file "sysutilh.inc"
> On line 28 of .../fpc/rtl/unix/sysutils.pp sysutilh.inc is included.
> Lazarus can't find it because it is in a include directory specially for
> sysutils: .../fpc/rtl/objpas/sysutils. This include path is only used
> for sysutils.pp.

- sigh -


More information about the Lazarus mailing list