[Lazarus] FPDocManager now handles selectable FCL packages

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Feb 20 18:21:53 CET 2012


Marco van de Voort schrieb:
> On Sat, Feb 18, 2012 at 11:58:52AM +0100, Hans-Peter Diettrich wrote:
>> A comment in such units could help: "This unit is usable on Linux only",
> 
> Linux Is Not UniX

You know what I meant ;-)

> But I don't see the need for comments when the various FPC package formats
> (Makefile.fpc, fpmake.pp) clearly annotate this.
> 
> People that refuse to use that, are on their own.

A comment in the files also could be used by the documentation tools, to 
exclude files for deselected platforms.

IMO it's very bad practice when files contain invalid syntax.

DoDi





More information about the Lazarus mailing list