[LLVMbugs] [Bug 10696] New: Output note message string is corrupted for err_init_list_variable_narrowing
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 17 16:19:20 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10696
Summary: Output note message string is corrupted for
err_init_list_variable_narrowing
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pichet2000 at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Given test.cpp:
struct A {
unsigned int a;
};
int b = 4;
A var = { b };
clang -std=c++0x test.cpp
note will be:
test.cpp:12:11: note: override this message by inserting an explicit cast
A var = { b};
^
s)atic_cast<unsigned int>(
^^^^^^^^^^^^^^^^^^^^^^
|
wrong
Same result on Windows and MacOSX
--
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