[Issue 952] Strange "Error:" prefix on some warning messages
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 17 17:29:33 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=952
Stewart Gordon <smjg at iname.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Stewart Gordon <smjg at iname.com> 2013-02-17 17:29:31 PST ---
This bug is about warning messages _generally_, not just this particular one.
And a new instance has cropped up:
----- switch_fallthrough_b.d -----
void main() {
char c = 'x';
switch(c) {
case 'U', 'u' :
c = 'q';
case 'L', 'l' :
c = 'r';
// code . . .
default:
}
}
----------
C:\Users\Stewart\Documents\Programming\D\Tests>dmd switch_fallthrough_b.d
C:\Users\Stewart\Documents\Programming\D\Tests>dmd -w switch_fallthrough_b.d
switch_fallthrough_b.d(6): Error: switch case fallthrough - use 'goto case;' if
intended
switch_fallthrough_b.d(9): Error: switch case fallthrough - use 'goto default;'
if intended
----------
--
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