[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 20:15:16 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6949
--- Comment #11 from bearophile_hugs at eml.cc 2012-11-29 20:15:15 PST ---
(In reply to comment #10)
> Some languages, such as Java, deal with this duality by defining the unsigned
> type out of existence.
There are languages like Ada, that have both signed and unsigned native
integrals, but behave differently from C/C++/D.
(Even if this patch is eventually refused, I suggest to turn it into a warning
and compile all phobos one time again with "-wi" to look for possible bugs
spotted by this.)
--
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