This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2007 11:33:11 -0000
- Subject: [Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning
- References: <bug-34307-15463@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-01 11:33 -------
Hop::Hop(string):msg(msg)
{}
Does not reference msg the argument here since there is no such thing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34307