This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/9621: const int typedef is rejected


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]