[Bug c++/20987] friend declaration links to two functions

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 13 09:58:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-13 09:58 -------
Fixed in 3.4.0 and above:
t.cc: In static member function `static int S::f4()':
t.cc:13: error: `int S::C::i' is private
t.cc:19: error: within this context

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20987



More information about the Gcc-bugs mailing list