From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4755 invoked by alias); 3 Aug 2002 15:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4740 invoked by uid 71); 3 Aug 2002 15:06:00 -0000 Date: Sat, 03 Aug 2002 08:06:00 -0000 Message-ID: <20020803150600.4739.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Raoul Gough" Subject: Re: c++/7176: g++ confused by friend and static member with same name Reply-To: "Raoul Gough" X-SW-Source: 2002-08/txt/msg00050.txt.bz2 List-Id: The following reply was made to PR c++/7176; it has been noted by GNATS. From: "Raoul Gough" To: , , , , Cc: Subject: Re: c++/7176: g++ confused by friend and static member with same name Date: Sat, 3 Aug 2002 16:04:12 +0100 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p r=7176 Is this PR related to (or the same) as the following much simpler compile problem? typedef int foo; struct bar { foo foo; }; $ f:/mingw/bin/g++ -c typename_reuse.cc typename_reuse.cc:4: declaration of `foo bar::foo' typename_reuse.cc:1: changes meaning of `foo' from `typedef int foo' BTW, I don't write code like that myself - it's representative of some code in the Microsoft DirectX samples. Regards, Raoul Gough. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com