From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7031 invoked by alias); 7 Feb 2003 23:56:00 -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 7012 invoked by uid 71); 7 Feb 2003 23:56:00 -0000 Resent-Date: 7 Feb 2003 23:56:00 -0000 Resent-Message-ID: <20030207235600.7009.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, patrick.rabau@gs.com Received: (qmail 2766 invoked by uid 48); 7 Feb 2003 23:50:30 -0000 Message-Id: <20030207235030.2765.qmail@sources.redhat.com> Date: Fri, 07 Feb 2003 23:56:00 -0000 From: patrick.rabau@gs.com Reply-To: patrick.rabau@gs.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/9621: const int typedef is rejected X-SW-Source: 2003-02/txt/msg00378.txt.bz2 List-Id: >Number: 9621 >Category: c++ >Synopsis: const int typedef is rejected >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Feb 07 23:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Patrick Rabau >Release: gcc 3.2.1 >Organization: >Environment: Solaris 8 >Description: const int typedef T1; This fails to compile, even though it is legal C++. The same line without the const is correctly accepted. int typedef T2; >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: