From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19484 invoked by alias); 27 Aug 2004 01:11:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19466 invoked by uid 48); 27 Aug 2004 01:11:38 -0000 Date: Fri, 27 Aug 2004 01:11:00 -0000 Message-ID: <20040827011138.19464.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040608021123.15865.giovannibajo@libero.it> References: <20040608021123.15865.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15865] Invalid variable definition through the constructor name X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg02818.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-27 01:11 ------- I think you should look at the dup bug which gives the reference to the standard: [3.4/3 says 'because the name of a class is inserted in its class scope, the name of the class is also considered a member of the class for the purposes of name hiding and lookup. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15865