<br><br><div class="gmail_quote">On Sat, Nov 13, 2010 at 9:14 PM, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com">bearophileHUGS@lycos.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
If you don't even see the usefulness of more readable linker errors then... why are where here? Aren't we trying to improve older languages?</blockquote><div><br></div><div>I said that improved error messages would be helpful.</div>
<div>I may have misinterpreted you when you said:</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">>My preferred (partial) solution to that problem is to let DMD look by itself for the modules it needs to >compile a program, unless a compiler switch asks otherwise and restores the simpler basic behaviour.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">I interpreted this as the compiler adding modules that were unspecified on the command line when calling the linker. If you meant that the compiler should search for additional required modules for more useful error messages, I agree with that sentiment.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">As written, it seems like you want the compiler to try to autodetect which object files need to be linked together and add those objects to the arguments to the linker, which I believe is a disservice because it takes a simple "pure" input/output model of compilation and makes it perform actions the programmer didn't necessarily intend or comprehend.</span></div>
</div><br>