This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19808] miss a warning about uninitialized members in constructor
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2005 21:53:38 -0000
- Subject: [Bug c++/19808] miss a warning about uninitialized members in constructor
- References: <20050207174055.19808.adl@gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-02-07 21:53 -------
Confirmed. We should get a warning for this code, but don't:
----------------------
struct S
{
int i, j;
S() : i(j), j(1) {}
};
S s;
-----------------------
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-02-07 21:53:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808