[lazarus] compile error on New Sources from cvs - FIXED

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 28 04:55:34 EST 2003


On Fri, 28 Nov 2003 10:58:39 +0100  Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:

> Maybe this can enlighten this discussion:
> - There are 4 players: LCL base, interface base, LCL and the various
> interfaces
> - Goals:
>   + LCL base, interface base and LCL are platform independent
>   + Interfaces are platform dependent
>   + compile once the platform independent part, 
>     then compile every platform dependent part separately
>     (e.g. under linux: compile LCL once, then gtk, gnome, gtk intf)
>     => interfaces depend on interfacebase
>     => this point does not imply any relationship between LCL
>        and an interface

, except that the LCL can not depend on the interfaces.


>   + LCL uses the interface base to talk to the real interface
>     => interface base on same or below lvl than LCL
>     => still no implication for the interfaces
>   + LCL contains the logic, interface base not
>     => LCL and interface base are not on same lvl
>   + the LCL base are just some very basic functions
>     and types, which can also be moved to the FCL, 
>     but are not. They are below all.
> 
> Ergo:
> - LCL is above interface base is above LCL base
> - Still no implication for the relationship of the LCL and the interfaces.
> 
> Not even the implication that we have to separate them. So, the gtk intf
> was implemented depending on the LCL to make programming easier. This was
> just a decision for the gtk intf. Other interfaces don't need to depend on
> the LCL. For example: Someone can write a MyCL using the interfacebase and
> write an interface for say wxWindows.
> But: No one wants to use the interface base without the LCL. The interface
> base is not very comfortable.


Mattias






More information about the Lazarus mailing list