[Lazarus] FPDocManager now handles selectable FCL packages

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 18 10:24:26 CET 2012


On Sat, 18 Feb 2012 05:33:15 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:

>[...]
> >> But here is such a Lazarus unit:
> >>    D:\repos\lazarusTrunk\components\jcf2\Parse\Tokens.pas
> > 
> > I found a project jcf.lpi which uses this unit. 
> > I fixed compilation.
> > No parser error.
> 
> I just can't test your update, due to SVN server problems. In the last 
> version the CodeExplorer didn't show any entries for this unit.

The unit needs an include file, that is in another directory.
Open the jcf.lpi, so that the IDE knows where to find it.
Eventually the code explorer can ignore missing include files.

 
>[...]
> Can I assume 
> that all FCL units, which require special compiler options, should 
> become part of the Lazarus FCL package?

No.


> In this case the various 
> simpleipc.inc files have to be fixed, before pipesipc.pp can be added to 
> this package. But even then I don't understand how the required include 
> path for simpleipc.pp is found by Lazarus.

The FPC sources are special. The IDE defines some paths for
them. See Tools / Codetools defines editor.


Mattias




More information about the Lazarus mailing list