Any takers for http://d.puremagic.com/issues/show_bug.cgi?id=9673?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Mar 10 10:04:06 PDT 2013


On 3/10/13 12:42 PM, Marco Leise wrote:
> Maybe this _class_ of bug wasn't considered before.
> You just need to have one module with a template and another
> one using it. If you change the template, the template module
> will be recompiled (generating no code to speak of), while the
> other file that actually instantiates the template remains
> untouched.
> Incremental builds end up with either outdated template
> instances or linker errors until you force a rebuild.

But the module using the template will transitively depend on the one 
defining the template, so it will be rebuilt as well.

Andrei



More information about the Digitalmars-d mailing list