[Lazarus] Compiling/linking/debugging package with generics
donald at ziesig.org
Mon Nov 27 19:33:13 CET 2017
On 11/27/2017 01:28 PM, Mattias Gaertner via Lazarus wrote:
> On Mon, 27 Nov 2017 13:15:36 -0500
> Donald Ziesig via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>> TL;DR Library packages which declare generics do compile, but do not
>> get included in the code that specializes them unless I "Cleanup and
>> build" the whole program. (Workable, but much *slower* than programs
>> without generics).
>> I searched the bug tracker, but did not see anything resembling this
>> problem. I would submit a bug report but I'm not sure whether this is
>> an IDE problem, a package problem or a compiler/linker problem. Would
>> someone more familiar with this part of the architecture give me pointers?
> When you change a pas file of your package and you compile your project,
> does the IDE automatically compile your package?
Yes (at least it catches typos). Also, the same problem occurs when I
compile the package manually, then run the program without using
"cleanup and build". (I am gradually discovering the extent of the
More information about the Lazarus