This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19761] -Winit-self doesn't work anymore
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2005 21:03:18 -0000
- Subject: [Bug c++/19761] -Winit-self doesn't work anymore
- References: <20050202161057.19761.oliverst@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-30 21:03 -------
I can't reproduce this with either gcc-3.4.4 or 4.0.0 on mingw
The example gives the warning
warning: 'i' might be used uninitialized in this function
iff I add -Winit-self
That is consistent with manual.
Are you expecuning a different warning?
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19761