digitalmars.D.bugs - [Issue 952] New: Strange "Error:" prefix on some warning messages
- d-bugmail puremagic.com Feb 11 2007
- d-bugmail puremagic.com Jun 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=952 Summary: Strange "Error:" prefix on some warning messages Product: D Version: 1.005 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic Severity: trivial Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: smjg iname.com Some of the warning messages have this strange wording error (no pun intended) in them. For example: ---------- int main() { return 1; return 0; } ---------- warning - warning_unreachable.d(3): Error: statement is not reachable ---------- Why the label "Error:" here? It isn't an error, it's a warning. Presumably the intention was for it to output warning - warning_unreachable.d(3): statement is not reachable We should get rid of the string "Error:" label especially from warning messages. Really, it shouldn't be in any complier messages, perhaps apart from those for which it doesn't make sense to give a filename and line number. You could debate whether it should be this or warning_unreachable.d(3): Warning: statement is not reachable but that's an aside. --
Feb 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=952 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |FIXED --- Comment #1 from yebblies <yebblies gmail.com> 2011-06-08 23:29:29 PDT --- It currently outputs: testx.d(3): Warning: statement is not reachable when compiled with -w -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 08 2011








d-bugmail puremagic.com