Compilation strategy

Jacob Carlborg doob at me.com
Sun Dec 16 05:36:55 PST 2012


On Sunday, 16 December 2012 at 11:01:40 UTC, David Nadlinger 
wrote:

> Funny things also happen if you try to be clever by batching 
> modules needing recompilation together (when doing incremental 
> compilation):
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8769

Don't know if this is the same problem but this three year old 
thread shows some problem doing incremental complication:

http://forum.dlang.org/thread/h8ddc5$1h67$1@digitalmars.com?page=1

The problem is that DMD doesn't output template instantiations to 
all object files, which will cause linker errors, making 
incremental compilation harder to implement.

Walter doesn't seem to want to implement a flag that output the 
template instantiations to all object files.

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list