------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-01-13 
05:55 -------
Both ICC and Comeau are right.
The declaration

    friend struct A; 

refers to boo::A, while the declaration
 
    B(const A&) {}; 

refers to ::A.  So the code should compile.
The patch for PR1016, scheduled for 4.1, should fix it.


-- 


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

Reply via email to