Header Files

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Sat May 9 18:00:31 PDT 2015


On Sat, 09 May 2015 10:01:25 -0400, bitwise <bitwise.pvt at gmail.com> wrote:

> ./main.d
> ./pack/foo.d
> ./pack/sub/bar.d
>
> dmd main.d pack/foo.d pack/sub/bar.d -ofTest -H
>
> This dumps all the *.di files into the output directory ignoring the  
> directory structure.
>
> Is there some rational for it being this way?
> Wouldn't it be much more useful if directories were preserved?
>
>    Bit


At this point, I'm thinking I should file a bug report for this.

You can't build a codebase with multiple packages because package.d or any  
other files that share the same filename will be overwritten.

Is there really no way to preserve the directory structure when creating  
.di files?

   Bit


More information about the Digitalmars-d mailing list