Am 23.10.2015 14:20 schrieb "Michael Schnell" <[email protected]>:
>
> On 10/23/2015 02:12 PM, Sven Barth wrote:
>>
>> He simple needs to get the unit to compile (which he did by adding the
LCL dependency) and stay clear from using any of the code that might use
GUI. In that case there will be no dependency on a specific GUI, because
the Interfaces unit is missing and the compiler might even smartlink away
the GUI-related code that isn't used anyway.
>
> What about code in the "initialization" section of the multiple units
that will get pulled even if using a single GUI related unit from the LCL ?
>

Those and the code they link to would remain. It will depend on the
specific initialization whether it can do any harm (especially with the
widgetset not initialized) if left in...

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to