[LLVMbugs] [Bug 10792] warning vs error for dyncast8.C
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Aug 27 15:26:25 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10792
Jeffrey Yasskin <jyasskin at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jyasskin at google.com
Resolution| |INVALID
--- Comment #1 from Jeffrey Yasskin <jyasskin at google.com> 2011-08-27 17:26:25 CDT ---
When asserting that g++ gives no warning or error, please test a recent g++:
Using MacPorts' gcc46 package:
$ g++-mp-4.6 -c dyncast8.C
dyncast8.C: In function 'int main()':
dyncast8.C:14:19: error: uninitialized const 'b' [-fpermissive]
dyncast8.C:10:7: note: 'const class Derived' has no user-provided default
constructor
--
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