Proposed improvements to the separate compilation model

Daniel Gibson metalcaedes at gmail.com
Sat Jul 23 16:10:47 PDT 2011


Am 24.07.2011 01:02, schrieb so:
> On Sun, 24 Jul 2011 01:47:32 +0300, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> and then either remove the .tmp if identical or rename it forcefully
>> to filename.di if different. That's a classic in code generation tools.
>
> Not sure i got it right but how renaming it forcefully would solve this?
> This must be two separate process for the compiler, issuing an error and
> if it was intended then the .di file must be generated.

Because if not done forcefully there may be an error because filename.di 
already exists.


More information about the Digitalmars-d mailing list