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++/13935] [3.4/3.5 Regression] Template friend lookup bug


------- Additional Comments From bangerth at dealii dot org  2004-01-30 17:10 -------
It fails with the same error on 3.3.3-pre. 
 
However, I'm not sure whether this is not illegal: you first say 
  friend class B; 
but then you declare B as a template: 
  template <typename TP2> class B 
What confuses me is that this is not detected. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.4.0 3.5.0                 |3.4.0 3.5.0 3.3.3


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


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