[LLVMbugs] [Bug 8597] clang doesn't report implicit 64->32 cast as it should with -Wshorten-64-to-32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 13 21:38:20 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8597

John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from John McCall <rjmccall at apple.com> 2010-11-13 23:38:20 CST ---
The warning you want is -Wconversion.  -Wshorten-64-to-32 is strictly a
portability aid and should not be warning about arbitrary implicit narrowings
just because of their byte size.

-- 
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