This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 980711
- To: Andy Henson <arh at evsw dot co dot uk>
- Subject: Re: Internal compiler error 980711
- From: <llewelly at dbritsch dot dsl dot xmission dot com>
- Date: Thu, 27 Jul 2000 07:55:21 -0600 (MDT)
- Cc: gcc-bugs at gcc dot gnu dot org
On Thu, 27 Jul 2000, Andy Henson wrote:
> I got this error (Internal compiler error 980711) when compiling a simple
> class. It appears to be the use of std::queue<> when the include file
> <queue> had not been included.
>
> I've simplfied the program down to 4 lines and I can still reproduce it:
> ---------------------------cut here----------------------------------
> class SerialStream
> {
> std::queue<int*> q;
> };
> ---------------------------cut here----------------------------------
>
> Version stuff:
>
> GNU C++ version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> (i386-redhat-linux) compiled by GNU C version egcs-2.91.66 19990314/Linux
> (egcs-1.1.2 release).
>
> actual error message:
>
> tstie.cpp:3: Internal compiler error 980711.
gcc 2.95.2 says:
class_with_queue_inside.cc:3: syntax error before ';'
so I suggest you upgrade.
Thank you for your bug report.