From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21554 invoked by alias); 7 Apr 2007 15:23:38 -0000 Received: (qmail 21469 invoked by uid 48); 7 Apr 2007 15:23:28 -0000 Date: Sat, 07 Apr 2007 15:23:00 -0000 Message-ID: <20070407152328.21468.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/31489] error says struct when it should say class In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bangerth at dealii dot org" 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-04/txt/msg00498.txt.bz2 ------- Comment #2 from bangerth at dealii dot org 2007-04-07 16:23 ------- Confirmed. I think a patch would be of interest. Maybe one could just tweak the error to read x.cc:5: error: invalid use of undefined type 'foobar' x.cc:1: error: forward declaration of struct or class 'foobar' -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-04-07 16:23:28 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31489