This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 980711 ( egcs 1.1 )
- To: ulf dot larsson at mbox337 dot swipnet dot se
- Subject: Re: Internal compiler error 980711 ( egcs 1.1 )
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Sun, 8 Nov 1998 10:03:16 +0100 (MET)
- cc: egcs-bugs at cygnus dot com
On Thu, 5 Nov 1998, Ulf Larsson wrote:
> The following illegal code generates internal
> compile rerrror.
>
> namespace A { }
> struct B {};
>
> int main() {
> typedef A::C< B > C_t;
> return 0;
> }
The current CVS snapshots report
x.cc: In function `int main()':
x.cc:5: warning: ANSI C++ forbids typedef which does not specify a type
x.cc:5: parse error before `;'
instead.
Thanks for your report!
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/