From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27675 invoked by alias); 2 Sep 2005 19:12:47 -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 27000 invoked by uid 48); 2 Sep 2005 19:12:09 -0000 Date: Fri, 02 Sep 2005 19:12:00 -0000 Message-ID: <20050902191208.26999.qmail@sourceware.org> From: "simon_baldwin at yahoo dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050901235142.23689.simon_baldwin@yahoo.com> References: <20050901235142.23689.simon_baldwin@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23689] Malformed typedef silently ignored X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00280.txt.bz2 List-Id: ------- Additional Comments From simon_baldwin at yahoo dot com 2005-09-02 19:12 ------- The problem's restricted to the C++ front end only, and is common across multiple releases and at the highest warning settings: $ cat e.cc typedef enum { ZERO }; // error, malformed typedef, missing identifier typedef struct dummy {}; // ditto $ g++-4.1 -Wall -W -pedantic -c e.cc $ g++-4.0.1-k8 -Wall -W -pedantic -c e.cc $ g++-3.4.1 -Wall -W -pedantic -c e.cc $ g++-3.2.2 -Wall -W -pedantic -c e.cc $ g++-2.95 -Wall -W -pedantic -c e.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23689