[Issue 8605] rdmd aborts during link
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 10 01:31:20 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8605
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |thecybershadow at gmail.com
Resolution| |INVALID
--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> 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 at 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: -------
More information about the Digitalmars-d-bugs
mailing list