digitalmars.D.bugs - [Issue 1995] New: invalid paths feed to -J option should be warned
- d-bugmail puremagic.com Apr 14 2008
- d-bugmail puremagic.com Apr 14 2008
- d-bugmail puremagic.com Apr 22 2008
- d-bugmail puremagic.com Apr 23 2008
- d-bugmail puremagic.com Apr 23 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1995 Summary: invalid paths feed to -J option should be warned Product: D Version: 1.028 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: davidl 126.com dmd -Jpathdoesn_texist_wont_fail abc.d --
Apr 14 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1995 wbaxter gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement ------- Comment #1 from wbaxter gmail.com 2008-04-14 21:59 ------- I disagree. -J is specifying an include path, for where to search for something. Include directories that don't exist usually don't trigger warning messages (like -Idir or -Ldir). Making it not an error is useful in that you can include a bunch of standard locations that may or may not exist inside a build file, and a user can add an extra location at the command line if none of the standard locations exist or contain the file sought. --
Apr 14 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1995 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from bugzilla digitalmars.com 2008-04-22 20:51 ------- I agree with Bill's reasoning. --
Apr 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1995 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #3 from davidl 126.com 2008-04-23 05:53 ------- I will appeciate if there's a warning message with certain options on. I find current behavior very annoying when I mistype some included path to the compiler, and waste a lot of time on figure out why this specific file can't be imported. --
Apr 23 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1995 ------- Comment #4 from shro8822 vandals.uidaho.edu 2008-04-23 10:17 ------- how about a waning if and only if an import fails and one of the paths is invalid. --
Apr 23 2008









d-bugmail puremagic.com 