[LLVMbugs] [Bug 4665] no warning when assigning signed value to an unsigned variable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 30 22:51:09 PST 2012


Jason Switzer <jswitzer at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Jason Switzer <jswitzer at gmail.com> 2012-01-31 00:51:09 CST ---
> The author of this bug was trying to use -Wall, which I'm not sure is 
> valid for clang (it is for GCC, which reports this under -Wsign-compare).

This was a mistake, it meant to say GCC reports this under -Wconversion,
similar to Clang. Also, though neighter GCC nor Clang turn on this option for
-Wall, Clang does turn it on with -Weverything.

After reviewing this with dblaikie on IRC, we both agreed this bug has been
fixed by now.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list