From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5935 invoked by alias); 26 Feb 2003 17:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 5905 invoked by uid 48); 26 Feb 2003 17:06:02 -0000 Date: Wed, 26 Feb 2003 17:06:00 -0000 Message-ID: <20030226170602.5904.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ras@transversal.com, zak@transversal.com From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ras@transversal.com, zak@transversal.com, gcc-gnats@gcc.gnu.org Subject: Re: c++/9849: malformed template typename produces strange diagnostic X-SW-Source: 2003-02/txt/msg01380.txt.bz2 List-Id: Synopsis: malformed template typename produces strange diagnostic State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Wed Feb 26 17:06:02 2003 State-Changed-Why: Confirmed. 3.4 spits out another set of messages: g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc x.cc:8: error: variable or field `foo' declared void x.cc:8: error: template declaration of `int foo' x.cc:8: error: expected `(' x.cc:8: error: expected primary-expression x.cc:8: error: expected primary-expression x.cc:8: error: expected expected `;' They are so far off the true reason that I consider this a bug. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9849