From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31245 invoked by alias); 17 Aug 2007 15:37:30 -0000 Received: (qmail 29915 invoked by uid 48); 17 Aug 2007 15:37:17 -0000 Date: Fri, 17 Aug 2007 15:37:00 -0000 Message-ID: <20070817153717.29914.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/28107] Incomplete type in struct added to global namespace In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pcarlini at suse dot de" 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: 2007-08/txt/msg01152.txt.bz2 ------- Comment #2 from pcarlini at suse dot de 2007-08-17 15:37 ------- FWIW, Comeau gives very similar errors: "ComeauTest.c", line 3: error: incomplete type is not allowed union B b; ^ "ComeauTest.c", line 6: error: tag kind of class or struct is incompatible with declaration of union "B" (declared at line 3) struct B; ^ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107