The module declaration is being ignored

Diffuse via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 8 12:01:53 PDT 2014


On Wednesday, 8 October 2014 at 18:46:38 UTC, Adam D. Ruppe via 
Digitalmars-d-learn wrote:
> On Wed, Oct 08, 2014 at 06:39:26PM +0000, Diffuse via 
> Digitalmars-d-learn wrote:

> In general, I recommend always passing all files to the 
> compiler explicitly
> so it can build an accurate file to module mapping and link all 
> code in.

My mistake. I am used to using dub and was having the exact same 
problem there so I decided to switch over to dmd to debug from 
there and I made this mistake.

Do you know if dub sends all the files in the source dir of the 
package and its dependencies to dmd?


More information about the Digitalmars-d-learn mailing list