From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26494 invoked by alias); 4 Sep 2007 17:53:23 -0000 Received: (qmail 26449 invoked by uid 48); 4 Sep 2007 17:53:12 -0000 Date: Tue, 04 Sep 2007 17:53:00 -0000 Message-ID: <20070904175312.26448.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29018] empty enum accepted 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-09/txt/msg00263.txt.bz2 ------- Comment #9 from pcarlini at suse dot de 2007-09-04 17:53 ------- Humm, no, anonymous enums are clearly legal, sorry about the stupid mistake. Still, it's not completely clear to me the discussion in 7.2/5 of empty enumerator-lists, evidently, we must assume those are illegal *only* when the enum is simultaneously anonymous (and the patch in Comment #2 is therefore incomplete, not completely wrong, sorry about the misunderstanding). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29018