[Bug c++/13626] [3.4 regression] rejects valid

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Sat Jan 10 11:18:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list