From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15551 invoked by alias); 24 Sep 2004 18:57:08 -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 15542 invoked by uid 48); 24 Sep 2004 18:57:07 -0000 Date: Fri, 24 Sep 2004 18:57:00 -0000 Message-ID: <20040924185707.15541.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040923222323.17644.boris@kolpackov.net> References: <20040923222323.17644.boris@kolpackov.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17644] unexpected symbol redefinition error X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg03042.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-24 18:57 ------- The first example is valid because ::foo is explicantly named but the second is invalid. Basically in C++ you have to "reparse" the struct again after finishing the struct and the standard says that if the type is different than before it is an error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17644