http://d.puremagic.com/issues/show_bug.cgi?id=8605


Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #3 from Vladimir Panteleev <[email protected]> 2013-03-10 
11:31:15 EET ---
I'm going to invoke my psychic powers and conclude that you have a file called
utils.di in the Parser directory.

rdmd currently assumes that if you're using .di files, the code for them will
be found in a library that's implicitly imported by your code (e.g. using
pragma(lib)).

I noticed that you tried to manually include utils.d in the compilation by
putting it on rdmd's command line:

> charles@mandala1:~/projects/D/Parser$ rdmd -unittest avl.d utils.d

This is not how rdmd works - the first .d file is considered as your program's
entry point, and all arguments after that as arguments to be passed to your
program when executing it. rdmd looks at which files the compiler consults
(output of dmd -v) to figure out which modules should be compiled.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to