From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11031 invoked by alias); 8 Oct 2010 15:12:43 -0000 Received: (qmail 11021 invoked by uid 22791); 8 Oct 2010 15:12:42 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Oct 2010 15:12:39 +0000 From: "MichieldeB at aim dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/45942] class will not get friends with another class X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: MichieldeB at aim dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 08 Oct 2010 15:12:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg00739.txt.bz2 Message-ID: <20101008151200.x6azUBR2Wz24OgzZYjwA7ULZZAZytZQTl-9mygYYRaA@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942 --- Comment #7 from Michiel 2010-10-08 15:12:36 UTC --- (In reply to comment #5) > (In reply to comment #3) > > Apparently you are making the same mistake as the compiler. > > Before adjusting the sentence to use a proper plural here (the same error > happens with the Intel, EDG, Comeau, SunStudio and Microsoft compilers, for > sure) I would suggest considering a little longer the first person singular. Does C++ accept dependencies between template parameters. G++ does that within my project. And all I am asking is to make ClassB a friend of ClassA before clicking "Resolved Invalid". I am using G++ and do not see a reason why another compiler should be able to make ClassB a friend of ClassA.