2008/7/7 Hess, Philip J <[EMAIL PROTECTED]>: > The IDE has always done that with packages. I believe I reported this a > couple years ago but didn't look into what it would take to suppress > this behavior.
I have noticed this a year or so ago as well, but never reported it. Now it bugs me again. :) > Since the package's main unit references all registered units, this can > be a huge amount of code pulled in on platforms that don't have a smart > linker (OS X for one). Exactly, and if you don't use Lazarus to compile the program (eg: via command line), this could cause problems as well I think. If the package (*.lpk) file is not located in the normal source code directories, the compiler will not find the package unit. Can we please remove that unit from the uses clause? Lazarus I believe is intelligent enough to know the required package from the .lps or .lpi files and where it is located. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
