[Issue 6949] no warning or error if unsigned variable is compared to 0
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 29 16:41:01 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6949
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-11-29 16:40:59 PST ---
(In reply to comment #2)
> Is Phobos giving some warnings with this patch? More study is
> probably needed.
The autotester is running. It failed once because of this:
enum En : uint
{
a, // 0
b // triggers comparison
}
I've added a workaround so the warning isn't triggered in this case anymore.
We'll see what the tester says..
--
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