[Bug c++/21235] [4.0 Regression] Trouble with friend and using namespace

2005-04-26 Thread pcarlini at suse dot de


-- 
   What|Removed |Added

  Known to fail||4.0.0
  Known to work||3.3.3 3.4.3 4.1.0


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


[Bug c++/21235] [4.0 Regression] Trouble with friend and using namespace

2005-04-26 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 
13:20 ---
Note 3.x did not friend the right class, it should have friended 
Kopete::KopeteAwayDialog but instead 
friends ::KopeteAwayDialog.  In 4.0.0 we friend the wrong class bug declare the 
class which is where 
the problem comes from.  In 4.1.0 we do correct thing in that we friend the 
correct class and now the 
new class is not declared.

Anyways this is a dup of bug 19403.

*** This bug has been marked as a duplicate of 19403 ***

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


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