Importing problems

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Feb 13 21:42:51 PST 2013


On Wed, Feb 13, 2013 at 03:53:51PM -0800, Brad Roberts wrote:
> On Wed, 13 Feb 2013, jerro wrote:
> 
> > I created self-contained sample.d, ran it with rdmd, then moved
> > class A to sample_a.d and tried to run it with rdmd again. I could
> > reproduce the issue that way. It seems that rdmd caches the
> > dependency list. Using --chatty flag confirms that rdmd does not run
> > dmd to get the dependency list the second time.
> > 
> > This solves the issue:
> > 
> > rdmd --force sample
> 
> Please file a bug report on this.

I just glanced over the code, it seems to be using timestamps to check
whether or not to update the dependencies. Which *should* work in
general, though there may be problems if you're on NFS and the system
clock is out of sync.


T

-- 
Let's call it an accidental feature. -- Larry Wall


More information about the Digitalmars-d-learn mailing list