digitalmars.D.bugs - [Issue 7192] New: improve error message for "object.d cannot be read"
- d-bugmail puremagic.com (30/30) Dec 31 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7192
- d-bugmail puremagic.com (10/10) Oct 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7192
- d-bugmail puremagic.com (13/13) Nov 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7192
- d-bugmail puremagic.com (10/10) Nov 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7192
http://d.puremagic.com/issues/show_bug.cgi?id=7192 Summary: improve error message for "object.d cannot be read" Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug yahoo.com.au> 2011-12-31 17:13:30 PST --- Would be good to special-case this one, in module.c: ---- void Module::read(Loc loc) { //printf("Module::read('%s') file '%s'\n", toChars(), srcfile->toChars()); if (srcfile->read()) { error(loc, "is in file '%s' which cannot be read", srcfile->toChars()); ---- If srcfile == "object.d", it means there's a problem with the installation. Instead of the generic message, we could print something like, error(loc, "cannot find source code for runtime library file 'object.d'); errorSupplemental("dmd is not correctly installed. Paths in configuration file 'dmd.conf' may be incorrect."); This would help make D more newbie-friendly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7192 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |technocrat7 gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-28 11:48:39 PDT --- *** Issue 3408 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7192 --- Comment #2 from github-bugzilla puremagic.com 2012-11-21 16:27:50 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2ec9a289c183ec66b220d2b7650b48348907583f Fixes Issue 7192 - Print user-friendly error message on missing object.d druntime file https://github.com/D-Programming-Language/dmd/commit/aba5f2cd71c0dbd196794d00c7697f9f625dfaaa Merge pull request #1218 from AndrejMitrovic/Fix7192 [trivial] Fix Issue 7192 - Print user-friendly error message on missing object.d file -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 21 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7192 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 21 2012