This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13626] [3.4 regression] rejects valid
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2004 11:18:11 -0000
- Subject: [Bug c++/13626] [3.4 regression] rejects valid
- References: <20040109102738.13626.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-01-10 11:18 -------
Richard,
the code looks invalid to me. In the member initializer list of the copy
construct you have:
face_m(model.face)
with:
int face_m;
int face() const { return face_m; }
So, it looks like that you actually wanted to say face_m(model.face()) or face_m
(model.face_m). GCC is right.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13626