This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15085] Feature Request: Uninitialized Object Field Warning
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Apr 2004 02:51:21 -0000
- Subject: [Bug c++/15085] Feature Request: Uninitialized Object Field Warning
- References: <20040423005822.15085.emase@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-04-23 02:51 -------
I think it's already there: -Weffc++ should give you the warning you need.
pr15085.cc:3: warning: `Counter::my_count' should be initialized in the member
initialization list
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15085