http://llvm.org/bugs/show_bug.cgi?id=4665
Summary: no warning when assigning signed value to an unsigned
variable
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
witten /tmp# cat unsigned.c
void foo(void) {
unsigned int i = -10;
}
witten /tmp# clang -Wall -c unsigned.c
witten /tmp#
as you can see there's no warning when I try to assign -10 to an unsigned
variable
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs