This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]